From: John David Anglin Date: Sat, 7 Oct 2006 16:42:29 +0000 (+0000) Subject: re PR target/29300 (FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf11ba00b4de0fffbf29c6966cbe7826f3975767;p=gcc.git re PR target/29300 (FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)) PR target/29300 * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on hppa*-*-hpux*. From-SVN: r117538 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 44524790f8a..7a319efc0ab 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-10-07 John David Anglin + + 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 PR fortran/16580 diff --git a/gcc/testsuite/gcc.dg/pthread-init-2.c b/gcc/testsuite/gcc.dg/pthread-init-2.c index 5da84baa51b..2aebd6e2286 100644 --- a/gcc/testsuite/gcc.dg/pthread-init-2.c +++ b/gcc/testsuite/gcc.dg/pthread-init-2.c @@ -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"