Hi!

dg-additional-options followed by dg-options is ignored.  I've added the
-w from there to dg-options and removed dg-additional-options.

Tested on x86_64-linux, committed to trunk as obvious.

2025-04-15  Jakub Jelinek  <ja...@redhat.com>

        PR ipa/119318
        * gcc.dg/ipa/pr119318.c: Remove dg-additional-options, add -w to
        dg-options.

--- gcc/testsuite/gcc.dg/ipa/pr119318.c.jj      2025-04-14 16:01:28.082745338 
+0200
+++ gcc/testsuite/gcc.dg/ipa/pr119318.c 2025-04-15 12:16:53.298801324 +0200
@@ -1,7 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target int128 } */
-/* { dg-additional-options "-Wno-psabi -w" } */
-/* { dg-options "-Wno-psabi -O2" } */
+/* { dg-options "-Wno-psabi -w -O2" } */
 
 typedef unsigned V __attribute__((vector_size (64)));
 typedef unsigned __int128 W __attribute__((vector_size (64)));

        Jakub

Reply via email to