From: Jakub Jelinek Date: Thu, 29 Apr 2021 09:42:08 +0000 (+0200) Subject: testsuite: Remove dg-options from pr100305.c [PR100305] X-Git-Tag: releases/gcc-11.2.0~475 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a515ce926b9d779922debc33ecad424c9ac22c65;p=thirdparty%2Fgcc.git 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. (cherry picked from commit 62a44a9797edce11b1f7051ea0016ee975d41233) --- diff --git a/gcc/testsuite/gcc.c-torture/compile/pr100305.c b/gcc/testsuite/gcc.c-torture/compile/pr100305.c index e098b90b5892..43d78bf65428 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)));