diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-04-24 09:35:16 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-04-24 09:35:16 +0100 |
commit | 0d923657c2fefac8aeb8eb317fe5c7e7c55880c9 (patch) | |
tree | f279b9ce648d7e5671873368ef89f7f3ce50fa87 /gcc/tree-complex.c | |
parent | bcd77b7b9f35bd5b559ed593c3b3e346c1e6f364 (diff) | |
download | gcc-0d923657c2fefac8aeb8eb317fe5c7e7c55880c9.zip gcc-0d923657c2fefac8aeb8eb317fe5c7e7c55880c9.tar.gz gcc-0d923657c2fefac8aeb8eb317fe5c7e7c55880c9.tar.bz2 |
Add dg-final option-based target selectors
This patch adds target selectors of the form:
{ any-opts "opt1" ... "optn" }
{ no-opts "opt1" ... "optn" }
for skipping or xfailing tests based on compiler options. It only
works for dg-final selectors.
The patch then uses no-opts to exclude -O0 and (sometimes) -Og from
some guality.exp xfails. AFAICT (based on gcc-testresults) these
tests pass for those options for all targets.
gcc/
* doc/sourcebuild.texi: Document no-opts and any-opts target
selectors.
gcc/testsuite/
* lib/target-supports-dg.exp (selector_expression): Handle any-opts
and no-opts.
* gcc.dg/guality/pr41353-1.c: Exclude -O0 from xfail.
* gcc.dg/guality/pr59776.c: Likewise.
* gcc.dg/guality/pr54970.c: Likewise -O0 and -Og.
Diffstat (limited to 'gcc/tree-complex.c')
0 files changed, 0 insertions, 0 deletions