diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2018-01-18 14:54:41 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2018-01-18 15:54:41 +0100 |
commit | 1f0267acfd4cc3d2582b41c7470e81fec9972a83 (patch) | |
tree | 95a03ab567d2deb0a075725a6ae1e1d7015b310a | |
parent | 215054684a2cfb50a968ef98b66bb790ec5974b0 (diff) | |
download | gcc-1f0267acfd4cc3d2582b41c7470e81fec9972a83.zip gcc-1f0267acfd4cc3d2582b41c7470e81fec9972a83.tar.gz gcc-1f0267acfd4cc3d2582b41c7470e81fec9972a83.tar.bz2 |
[ARM,testsuite] Make arm_arch_FUNC_ok more robust
2018-01-18 Christophe Lyon <christophe.lyon@linaro.org>
* lib/target-supports.exp (check_effective_target_arm_arch_FUNC_ok):
Add function body to force error messages in some configurations.
From-SVN: r256849
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b8d36aa..faf1799 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-01-18 Christophe Lyon <christophe.lyon@linaro.org> + + * lib/target-supports.exp (check_effective_target_arm_arch_FUNC_ok): + Add function body to force error messages in some configurations. + 2018-01-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.target/arm/pr70278.c: Add effective target checks for armv4t diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 0e2861c..b4b6f32 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -4125,6 +4125,11 @@ foreach { armfunc armflag armdefs } { #if !(DEFS) #error !(DEFS) #endif + int + main (void) + { + return 0; + } } "FLAG" ] } |