[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
This commit is contained in:
Christophe Lyon 2018-01-18 14:54:41 +00:00 committed by Christophe Lyon
parent 215054684a
commit 1f0267acfd
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -4125,6 +4125,11 @@ foreach { armfunc armflag armdefs } {
#if !(DEFS)
#error !(DEFS)
#endif
int
main (void)
{
return 0;
}
} "FLAG" ]
}