]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Limit dg-xfail-run-if for *-*-hpux11.[012]* to -O0
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 19 Jan 2024 17:06:01 +0000 (17:06 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 19 Jan 2024 17:09:29 +0000 (17:09 +0000)
2024-01-19  John David Anglin  <danglin@gcc.gnu.org>

gcc/testsuite/ChangeLog:

* gcc.dg/torture/pr47917.c: Limit dg-xfail-run-if for
hpux11.[012]* to -O0.

gcc/testsuite/gcc.dg/torture/pr47917.c

index 5724907ba1c3efe1bf69984441d7ca81d8344be4..32c99c6a2d2891db2a10ddcd18b4742a25d95c58 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-options "-std=c99" } */
 /* { dg-options "-std=gnu99" { target *-*-hpux* } } */
 /* { dg-additional-options "-D__USE_MINGW_ANSI_STDIO=1" { target *-*-mingw* } } */
-/* { dg-xfail-run-if "non-conforming C99 snprintf" { *-*-hpux11.[012]* } } */
+/* { dg-xfail-run-if "non-conforming C99 snprintf" { *-*-hpux11.[012]* } { "-O0" } } */
 
 /* PR middle-end/47917 */