]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Add CRIS to check_effective_target_lra non-LRA list
authorHans-Peter Nilsson <hp@axis.com>
Thu, 16 Feb 2023 00:22:15 +0000 (01:22 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Thu, 16 Feb 2023 00:22:15 +0000 (01:22 +0100)
gcc/testsuite:

* lib/target-supports.exp (check_effective_target_lra): Add CRIS
as a non-LRA target.

gcc/testsuite/lib/target-supports.exp

index 227e3004077a374317ae20c323c03a9b2ce15292..59be4fc9dc998a5befe57d61fe1f6eb4a7ca224e 100644 (file)
@@ -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