From 62a44a9797edce11b1f7051ea0016ee975d41233 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 29 Apr 2021 11:42:08 +0200 Subject: 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 PR target/100305 * gcc.c-torture/compile/pr100305.c: Remove dg-options. Add PR line. --- gcc/testsuite/gcc.c-torture/compile/pr100305.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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))); -- cgit v1.1