[committed] testsuite: Fix up ipa/pr119318.c test [PR119318]

Message ID Z/41T9DkM2zLCWT9@tucnak
State New
Headers
Series [committed] testsuite: Fix up ipa/pr119318.c test [PR119318] |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap fail Patch failed to apply

Commit Message

Jakub Jelinek April 15, 2025, 10:30 a.m. UTC
  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  <jakub@redhat.com>

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


	Jakub
  

Patch

--- 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)));