[committed] Limit dg-xfail-run-if for *-*-hpux11.[012]* to -O0
Checks
Commit Message
Tested on hppa64-hp-hpux11.11. Committed to trunk.
Dave
---
Limit dg-xfail-run-if for *-*-hpux11.[012]* to -O0
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.
@@ -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 */