[Bug testsuite/65578] FAIL: gcc.target/arm/builtin-bswap-1.c (test for excess errors)
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 26 10:20:00 GMT 2015
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" ]
}
...
More information about the Gcc-bugs
mailing list