re PR target/29300 (FAIL: gcc.dg/pthread-init-[12].c (test for excess errors))
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sat, 7 Oct 2006 16:42:29 +0000 (16:42 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 7 Oct 2006 16:42:29 +0000 (16:42 +0000)
PR target/29300
* gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
on hppa*-*-hpux*.

From-SVN: r117538

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pthread-init-2.c

index 44524790f8af10ef6ca759b2ef5bf4a784e73f77..7a319efc0ab22293ce51676ad49d0605def73308 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/29300
+       * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
+       on hppa*-*-hpux*.
+
 2006-10-07  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        PR fortran/16580
index 5da84baa51b2fc3ec94a25a0e0d172e10269bd9d..2aebd6e2286df50f0c379b711f790947ab1bf5f0 100644 (file)
@@ -6,6 +6,7 @@
 
 /* { dg-do compile } */
 /* { dg-options "-Wextra -Wall -ansi" } */
+/* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { hppa*-*-hpux* } } } */
 
 #include "pthread-init-common.h"