]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Remove dg-options from pr100305.c [PR100305]
authorJakub Jelinek <jakub@redhat.com>
Thu, 29 Apr 2021 09:42:08 +0000 (11:42 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 29 Apr 2021 09:42:08 +0000 (11:42 +0200)
commit62a44a9797edce11b1f7051ea0016ee975d41233
tree411dc0160c9642a1d4db4af9fdbd3dcd332999d3
parent1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a
testsuite: Remove dg-options from pr100305.c [PR100305]

The test FAILs on i?86-linux (due to -Wpsabi warnings).  But, on closer
inspection it seems there is another problem, the dg-options in the testcase
means that the test is compiled with -O0 -O, -O1 -O, -O2 -O, -O3 -O, -Os -O
etc. options, so effectively is tested multiple times with the same options.

Fixed by dropping the dg-options line, then we have -w by default and iterate
over all the optimization levels (including the -O).

2021-04-29  Jakub Jelinek  <jakub@redhat.com>

PR target/100305
* gcc.c-torture/compile/pr100305.c: Remove dg-options.  Add PR line.
gcc/testsuite/gcc.c-torture/compile/pr100305.c