https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65578

--- Comment #1 from vries at gcc dot gnu.org ---
Tightening the arm_arch_v6_ok test like this would fix the failure:
...
diff --git a/gcc/testsuite/lib/target-supports.exp
b/gcc/testsuite/lib/target-supports.exp
index b57f545..75ca0a3 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -2848,6 +2848,11 @@ foreach { armfunc armflag armdef } { v4 "-march=armv4
-marm" __ARM_ARCH_4__
                #if !defined (DEF)
                #error !DEF
                #endif
+               int
+               f (void)
+               {
+                   return 0;
+               }
            } "FLAG" ]
        }

...

Reply via email to