aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-04-29 11:42:08 +0200
committerJakub Jelinek <jakub@redhat.com>2021-04-29 11:42:08 +0200
commit62a44a9797edce11b1f7051ea0016ee975d41233 (patch)
tree411dc0160c9642a1d4db4af9fdbd3dcd332999d3
parent1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a (diff)
downloadgcc-62a44a9797edce11b1f7051ea0016ee975d41233.zip
gcc-62a44a9797edce11b1f7051ea0016ee975d41233.tar.gz
gcc-62a44a9797edce11b1f7051ea0016ee975d41233.tar.bz2
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.
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr100305.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr100305.c b/gcc/testsuite/gcc.c-torture/compile/pr100305.c
index e098b90b..43d78bf 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr100305.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr100305.c
@@ -1,4 +1,4 @@
-/* { dg-options "-O" } */
+/* PR target/100305 */
typedef double v2df __attribute__((vector_size(16)));