aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.cc
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2023-11-07 10:39:14 +0000
committerRichard Earnshaw <rearnsha@arm.com>2023-11-13 14:15:57 +0000
commitfa3fa735db16ec441db2aa155c941f289750576b (patch)
treed6b9c792d00836a6c716c8849ab40b91c2749645 /gcc/tree-ssa-loop-prefetch.cc
parent47b3f2c84dea6460b1cd14b5dbca4c2ad609f2ca (diff)
downloadgcc-fa3fa735db16ec441db2aa155c941f289750576b.zip
gcc-fa3fa735db16ec441db2aa155c941f289750576b.tar.gz
gcc-fa3fa735db16ec441db2aa155c941f289750576b.tar.bz2
testsuite: arm: tighten up mode-specific ISA tests
Some of the standard Arm architecture tests require the test to use a specific instruction set (arm or thumb). But although the framework was checking that the flag was accepted, it wasn't checking that the flag wasn't somehow being override (eg by run-specific options). We can improve these tests easily by checking whether or not __thumb-_ is defined. gcc/testsuite: * lib/target-supports.exp (check_effective_target_arm_arch_FUNC_ok): For instruction-set specific tests, check that __thumb__ is, or isn't defined as appropriate.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions