diff options
author | David Edelsohn <dje@gcc.gnu.org> | 2012-12-21 10:55:52 -0500 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2012-12-21 10:55:52 -0500 |
commit | b1ad2a2add33d65405957f46ed09410513ccc1d5 (patch) | |
tree | edb791bb07b275babb706694671e21757a377d1f | |
parent | 811ee85b3097a8d71c76136c9b5ef339dc7ded6b (diff) | |
download | gcc-b1ad2a2add33d65405957f46ed09410513ccc1d5.zip gcc-b1ad2a2add33d65405957f46ed09410513ccc1d5.tar.gz gcc-b1ad2a2add33d65405957f46ed09410513ccc1d5.tar.bz2 |
pthread-init-2.c (dg-options): Define _XOPEN_SOURCE=500 on AIX.
* gcc.dg/pthread-init-2.c (dg-options): Define _XOPEN_SOURCE=500
on AIX.
From-SVN: r194668
-rw-r--r-- | gcc/testsuite/ChangeLog | 65 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pthread-init-2.c | 1 |
2 files changed, 36 insertions, 30 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f720276..d341976 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-12-21 David Edelsohn <dje.gcc@gmail.com> + + * gcc.dg/pthread-init-2.c (dg-options): Define _XOPEN_SOURCE=500 + on AIX. + 2012-12-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/55763 @@ -1310,12 +1315,12 @@ * gcc.target/powerpc/ppc-pow.c: Allow dot symbols in branch. * gcc.target/powerpc/tfmode_off.c: Skip on AIX. -2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-11-07 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR c/53063 * gcc.dg/warn-nsstring.c: Use -Wformat explicitly. -2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-11-07 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR c/51294 * c-c++-common/pr51294.c: New. @@ -1696,7 +1701,7 @@ PR middle-end/55116 * gcc.target/i386/pr55116.c: New file. -2012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-10-29 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR c/53066 * gcc.dg/Wshadow-4.c: New. @@ -2125,7 +2130,7 @@ * gcc.dg/webizer.c (main): Add missing exit call. -2012-10-21 Thomas König <tkoenig@gcc.gnu.org> +2012-10-21 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/54465 * gfortran.dg/wextra_1.f: New test. @@ -2208,7 +2213,7 @@ * gcc.dg/tree-ssa/ldist-17.c: Block cunroll to make testcase still valid. -2012-10-16 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-10-16 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR c/53063 PR c/40989 @@ -3014,7 +3019,7 @@ * go.test/go-test.exp: Update for latest version of Go testsuite. -2012-09-29 Thomas König <tkoenig@gcc.gnu.org> +2012-09-29 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/52724 * gfortran.dg/internal_readwrite_3.f90: New test. @@ -3519,7 +3524,7 @@ * g++.dg/torture/builtin-location.C: New testcase. 2012-09-13 Paolo Carlini <paolo.carlini@oracle.com> - Manuel López-Ibáñez <manu@gcc.gnu.org> + Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR c++/53210 * g++.dg/warn/Wuninitialized-self.C: New. @@ -4380,7 +4385,7 @@ PR fortran/54301 * gfortran.dg/warn_target_lifetime_1.f90: New. -2012-08-19 Thomas König <tkoenig@gcc.gnu.org> +2012-08-19 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/54298 * gfortran.dg/real_compare_1.f90: New test case. @@ -4835,7 +4840,7 @@ * gcc.dg/tree-ssa/pta-ptrarith-1.c: Likewise. * gcc.dg/tree-ssa/pta-ptrarith-2.c: Likewise. -2012-08-01 Thomas König <tkoenig@gcc.gnu.org> +2012-08-01 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/54033 * gfortran.dg/include_6.f90: New test case. @@ -5308,7 +5313,7 @@ * g++.dg/parse/access8.C: Adjust. * g++.dg/template/sfinae6_neg.C: Adjust. -2012-07-16 Thomas König <tkoenig@gcc.gnu.org> +2012-07-16 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/53824 * gfortran.dg/coarray_allocate_1.f90: New test. @@ -6339,12 +6344,12 @@ PR middle-end/53535 * gcc.dg/pr46647.c: xfail for cris-* and crisv32-*. -2012-06-07 Thomas König <tkoenig@gcc.gnu.org> +2012-06-07 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/52861 * gfortran.dg/string_assign_2.f90: New test case. -2012-06-07 Thomas König <tkoenig@gcc.gnu.org> +2012-06-07 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/52861 * gfortran.dg/string_assign_1.f90: New test case. @@ -6360,7 +6365,7 @@ * gfortran.dg/gomp/appendix-a/a.35.6.f90: Likewise. * c-c++-common/gomp/pr53580.c: New test. -2012-06-07 Fabien Chêne <fabien@gcc.gnu.org> +2012-06-07 Fabien ChÁne <fabien@gcc.gnu.org> PR c++/51214 * g++.dg/cpp0x/forw_enum11.C: New. @@ -6388,7 +6393,7 @@ * gfortran.dg/vect/pr32380.f: Adjust number of expected vectorized loops. -2012-06-06 Fabien Chêne <fabien@gcc.gnu.org> +2012-06-06 Fabien ChÁne <fabien@gcc.gnu.org> PR c++/52841 * g++.dg/cpp0x/pr52841.C: New testcase. @@ -7176,7 +7181,7 @@ * gnat.dg/discr36.ad[sb]: New test. * gnat.dg/discr36_pkg.ad[sb]: New helper. -2012-05-05 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-05-05 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR c/43772 * c-c++-common/pr43772.c: New. @@ -7238,7 +7243,7 @@ * gcc.target/ia64/pr48496.c: New test. * gcc.target/ia64/pr52657.c: Likewise. -2012-05-04 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-05-04 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR c/51712 * c-c++-common/pr51712.c: New. @@ -7481,7 +7486,7 @@ * gnat.dg/warn6.ad[sb]: New test. -2012-04-29 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-04-29 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR 53149 * gcc.dg/20011021-1.c: Adjust testcase. @@ -7589,7 +7594,7 @@ PR c/52880 * gcc.dg/pr52880.c: New test. -2012-04-25 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-04-25 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> * gcc.dg/m-un-2.c: Update. * gcc.dg/20011021-1.c: Update. @@ -7672,7 +7677,7 @@ PR fortran/53051 * gfortran.dg/read_float_4.f90: New. -2012-04-21 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-04-21 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR 35441 * c-c++-common/pr35441.C: New. @@ -7707,7 +7712,7 @@ * gcc.dg/pr52283.c: New test. -2012-04-19 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-04-19 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> * gcc.dg/pr37985.c: New test. @@ -7955,12 +7960,12 @@ * gcc/target/sh/pr50751-6.c: New. * gcc/target/sh/pr50751-7.c: New. -2012-04-11 Fabien Chêne <fabien@gcc.gnu.org> +2012-04-11 Fabien ChÁne <fabien@gcc.gnu.org> PR c++/52465 * g++.dg/lookup/using52.C: New. -2012-04-11 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-04-11 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> * lib/prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty. @@ -8056,7 +8061,7 @@ * gcc.dg/builtin-bswap-5.c: Likewise. * gcc.target/i386/builtin-bswap-4.c: New test. -2012-04-11 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-04-11 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> PR 24985 * lib/prune.exp: Add -fno-diagnostics-show-caret. @@ -8165,7 +8170,7 @@ PR fortran/52751 * gfortran.dg/public_private_module_2.f90: New. -2012-04-08 Manuel López-Ibáñez <manu@gcc.gnu.org> +2012-04-08 Manuel LÁpez-IbÁÁez <manu@gcc.gnu.org> * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Add labels to directives. @@ -9400,7 +9405,7 @@ PR c++/52248 * g++.dg/ext/timevar1.C: New. -2012-02-16 Fabien Chêne <fabien@gcc.gnu.org> +2012-02-16 Fabien ChÁne <fabien@gcc.gnu.org> PR c++/52126 * g++.dg/template/using21.C: New. @@ -9735,7 +9740,7 @@ PR fortran/51514 * gfortran.dg/class_to_type_2.f90: New. -2012-02-06 Thomas König <tkoenig@gcc.gnu.org> +2012-02-06 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/32373 * gfortran.dg/vect/vect-8.f90: Use vect_double effective target. @@ -9761,12 +9766,12 @@ * gcc.dg/pr48374.c: Actually add the test I forgot in the 2012-01-25 commit. -2012-02-05 Thomas König <tkoenig@gcc.gnu.org> +2012-02-05 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/32373 * gfortran.dg/vect/vect-8.f90: New test case. -2012-02-05 Thomas König <tkoenig@gcc.gnu.org> +2012-02-05 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/48847 * gfortran.dg/warn_unused_dummy_argument_3.f90: New test. @@ -9858,7 +9863,7 @@ PR tree-optimization/52073 * gcc.c-torture/compile/pr52073.c: New test. -2012-02-01 Thomas König <tkoenig@gcc.gnu.org> +2012-02-01 Thomas KÁnig <tkoenig@gcc.gnu.org> PR fortran/51958 * gfortran.dg/function_optimize_10.f90: New test. @@ -11041,7 +11046,7 @@ * g++.dg/cpp0x/constexpr-delegating2.C: Add missing piece. -2012-01-01 Fabien Chêne <fabien@gcc.gnu.org> +2012-01-01 Fabien ChÁne <fabien@gcc.gnu.org> * g++.old-deja/g++.brendan/crash25.C: Adjust. * g++.old-deja/g++.brendan/crash56.C: Likewise. diff --git a/gcc/testsuite/gcc.dg/pthread-init-2.c b/gcc/testsuite/gcc.dg/pthread-init-2.c index 3e8a17e..8ec0515 100644 --- a/gcc/testsuite/gcc.dg/pthread-init-2.c +++ b/gcc/testsuite/gcc.dg/pthread-init-2.c @@ -8,6 +8,7 @@ /* { dg-require-effective-target pthread_h } */ /* { dg-options "-Wextra -Wall -ansi" } */ /* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { *-*-hpux* } } } */ +/* { dg-options "-Wextra -Wall -ansi -D_XOPEN_SOURCE=500" { target { powerpc-ibm-aix* } } } */ #include "pthread-init-common.h" |