* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options
for mips-sgi-irix6.5.
Replace snprintf prototype by <stdio.h>.
From-SVN: r171456
+2011-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options
+ for mips-sgi-irix6.5.
+ Replace snprintf prototype by <stdio.h>.
+
2011-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/48283
/* { dg-do run } */
/* { dg-options "-std=c99" } */
+/* { dg-options "-std=c99 -D_XOPEN_SOURCE=500" { target mips-sgi-irix6.5 } } */
/* { dg-xfail-if "no C99 snprintf function" { *-*-hpux10* } } */
/* { dg-xfail-run-if "non-conforming C99 snprintf" { *-*-hpux11.[012]* } } */
/* PR middle-end/47917 */
-extern int snprintf (char *, __SIZE_TYPE__, const char *, ...);
+#include <stdio.h>
extern int memcmp (const void *, const void *, __SIZE_TYPE__);
extern void abort (void);