aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.cc
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2023-11-03 18:30:42 +0000
committerRichard Earnshaw <rearnsha@arm.com>2023-11-13 14:15:56 +0000
commitea36e391e8f7b14cc3e2987182e004d4454903ce (patch)
treeec5997c8b207742972ed79778357f569b37676d4 /gcc/cppdefault.cc
parent40e25ea5b0b3584b9588563784cc8575ce2d7ddb (diff)
downloadgcc-ea36e391e8f7b14cc3e2987182e004d4454903ce.zip
gcc-ea36e391e8f7b14cc3e2987182e004d4454903ce.tar.gz
gcc-ea36e391e8f7b14cc3e2987182e004d4454903ce.tar.bz2
arm: testsuite: improve compatibility of pragma_arch_switch_2.c
This test was explicitly setting the architecture on the command-line and in the body of the test. In both cases this causes problems with the auto FPU setting. Fix by using the testsuite infrastructure correctly and by adding +fp to the pragma. gcc/testsuite: * gcc.target/arm/pragma_arch_switch_2.c: Use testsuite infrastructure to set the architecture flags. Add +fp to the pragma that changes the architecture.
Diffstat (limited to 'gcc/cppdefault.cc')
0 files changed, 0 insertions, 0 deletions