aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/module.cc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2024-01-26 21:47:40 +0000
committerMaciej W. Rozycki <macro@embecosm.com>2024-01-26 21:47:40 +0000
commita0596173c8975073dba8288598a483bfa97605ee (patch)
tree095362417fb5fd7afa851389cdb6f23a14b54359 /gcc/cp/module.cc
parent861997a9c7088da25ed4dc0bd339060ca063514f (diff)
downloadgcc-a0596173c8975073dba8288598a483bfa97605ee.zip
gcc-a0596173c8975073dba8288598a483bfa97605ee.tar.gz
gcc-a0596173c8975073dba8288598a483bfa97605ee.tar.bz2
RISC-V/testsuite: Widen coverage for pr105314.c
The optimization levels pr105314.c is iterated over are needlessly overridden with "-O2", limiting the coverage of the test case to that level, perhaps with additional options the original optimization level has been supplied with. We could prevent the extra iterations other than "-O2" from being run, but the transformation made by if-conversion is also expected to happen at other optimization levels, so include them all, and also make sure no reverse-condition branch appears in output, moving the `dg-final' command to the bottom, as with most test cases. gcc/testsuite/ * gcc.target/riscv/pr105314.c: Replace `dg-options' command with `dg-skip-if'. Also reject "bne" with `dg-final'.
Diffstat (limited to 'gcc/cp/module.cc')
0 files changed, 0 insertions, 0 deletions