mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 22:11:41 +08:00
[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:
parent
215054684a
commit
1f0267acfd
@ -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
|
||||
|
@ -4125,6 +4125,11 @@ foreach { armfunc armflag armdefs } {
|
||||
#if !(DEFS)
|
||||
#error !(DEFS)
|
||||
#endif
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
} "FLAG" ]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user