testsuite: Add CRIS to check_effective_target_lra non-LRA list
Checks
Commit Message
I'd much rather install
https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611531.html
than this one, because obviously a general solution is
better than a target list. But, that would require
approval, and I got NAK. This change however, piling on to
the target list, is within target maintainer rights.
Committed.
Also, asking for maintainer reconsideration of the more
general solution in the above patch that gets rid of the
target list, as reload will stay in gcc-13 (IIUC).
-- >8 --
gcc/testsuite:
* lib/target-supports.exp (check_effective_target_lra): Add CRIS
as a non-LRA target.
---
gcc/testsuite/lib/target-supports.exp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -12192,7 +12192,7 @@ proc check_effective_target_o_flag_in_section { } {
# return 1 if LRA is supported.
proc check_effective_target_lra { } {
- if { [istarget hppa*-*-*] } {
+ if { [istarget hppa*-*-*] || [istarget cris-*-*] } {
return 0
}
return 1