gnu11 fallout: powerpc

2014-11-09 Thread Andreas Schwab
Tested on powerpc64-suse-linux and committed as obvious. Andreas. * gcc.target/powerpc/pr51623.c: Fix implicit declarations. diff --git a/gcc/testsuite/gcc.target/powerpc/pr51623.c b/gcc/testsuite/gcc.target/powerpc/pr51623.c index 2ac118c..0e13463 100644 --- a/gcc/testsuite/gcc.target/

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-11-04 Thread Richard Henderson
On 11/03/2014 05:22 PM, Rainer Orth wrote: > 2014-10-22 Rainer Orth > > libobjc: > * thr.c (_XOPEN_SOURCE): Define as 600. > > libiberty: > * sigsetmask.c (_POSIX_SOURCE): Remove. > > libgomp: > * config/posix/lock.c (_XOPEN_SOURCE) Define as 600. Ok. r~

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-11-03 Thread Rainer Orth
* sigsetmask.c (_POSIX_SOURCE): Remove. libgomp: * config/posix/lock.c (_XOPEN_SOURCE) Define as 600. # HG changeset patch # Parent 0ae9b18fcb6f31523dd31f1825a3bb540ad84289 Fix gnu11 fallout on Solaris 10+ diff --git a/libgomp/config/posix/lock.c b/libgomp/config/posix/lock.c ---

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-27 Thread Richard Henderson
On 10/24/2014 01:56 AM, Rainer Orth wrote: > And even with the _XOPEN_SOURCE business out of the way, there's still > the question what to do about _POSIX_SOURCE in libiberty/sigsetmask.c. > Given that it was introduced almost 20 years ago, it may well be > unnecessary for the systems we still care

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-24 Thread Rainer Orth
Richard Henderson writes: > On 10/22/2014 04:43 AM, Rainer Orth wrote: >> The gnu11 patch broke Solaris 10 and 11 bootstrap: >> has >> >> /* >> * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application >> * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, >>

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-23 Thread Andrew Pinski
On Wed, Oct 22, 2014 at 4:43 AM, Rainer Orth wrote: > The gnu11 patch broke Solaris 10 and 11 bootstrap: > has > > /* > * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application > * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, > * and POSIX.1c applications

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-23 Thread Richard Henderson
On 10/22/2014 04:43 AM, Rainer Orth wrote: > The gnu11 patch broke Solaris 10 and 11 bootstrap: > has > > /* > * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application > * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, > * and POSIX.1c applications. Likewis

[boehm-gc] Fix gnu11 fallout on SPARC

2014-10-22 Thread Rainer Orth
* include/gc.h [(sparc || __sparc) && sun] (GC_INIT): Remove comment and definition. # HG changeset patch # Parent 1f398ca16001e467a4d13fba76608e183ab2547b Fix gnu11 fallout on SPARC diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h --- a/boehm-gc/inc

[testsuite] Fix SPARC testsuite gnu11 fallout

2014-10-22 Thread Rainer Orth
. # HG changeset patch # Parent d247af8a6a003c983b5d4fa4315f9b412a8a4094 Fix SPARC testsuite gnu11 fallout diff --git a/gcc/testsuite/gcc.target/sparc/20001013-1.c b/gcc/testsuite/gcc.target/sparc/20001013-1.c --- a/gcc/testsuite/gcc.target/sparc/20001013-1.c +++ b/gcc/testsuite/gcc.target/sparc

[libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-22 Thread Rainer Orth
& __STDC_VERSION__ >= 200112L]: Define as 200112L. libgomp: * config/posix/lock.c (_XOPEN_SOURCE) [__sun__ && __svr4__]: Define as 600. # HG changeset patch # Parent 0dac6e8c4aa188f94c5502cf106a5aa12e266d5b Fix gnu11 fallout on Solaris 10+ diff --git a/l

gnu11 fallout

2014-10-21 Thread Andreas Schwab
Tested on m68k-suse-linux, installed as obvious. Andreas. * gcc.dg/bf-spl1.c (main): Fix implicit int. diff --git a/gcc/testsuite/gcc.dg/bf-spl1.c b/gcc/testsuite/gcc.dg/bf-spl1.c index b28130d..1cba005 100644 --- a/gcc/testsuite/gcc.dg/bf-spl1.c +++ b/gcc/testsuite/gcc.dg/bf-spl1.c @@ -

[committed] gnu11 fallout: powerpc

2014-10-16 Thread Marek Polacek
Markus reported on IRC that gnu11 default broke these two tests on powerpc. Applying to trunk. 2014-10-16 Marek Polacek * gcc.target/powerpc/pr58673-1.c: Fix defaulting to int. * gcc.target/powerpc/pr58673-2.c: Add declarations. diff --git gcc/testsuite/gcc.target/powerpc/pr5

[committed] gnu11 fallout: graphite

2014-10-16 Thread Marek Polacek
This fixes fallout of graphite tests. Applying to trunk. 2014-10-16 Marek Polacek * gcc.dg/graphite/id-1.c: Fix defaulting to int. * gcc.dg/graphite/id-2.c: Likewise. * gcc.dg/graphite/id-4.c: Likewise. * gcc.dg/graphite/id-8.c: Likewise. * gcc.dg/graph

gnu11 fallout: m68k

2014-10-16 Thread Andreas Schwab
Tested on m68k-suse-linux and installed as obvious. Andreas. * gcc.target/m68k/crash1.c: Fix implicit declaration. diff --git a/gcc/testsuite/gcc.target/m68k/crash1.c b/gcc/testsuite/gcc.target/m68k/crash1.c index fdd737a..2554d62 100644 --- a/gcc/testsuite/gcc.target/m68k/crash1.c +++

gnu11 fallout: ia64

2014-10-16 Thread Andreas Schwab
Tested on ia64-suse-linux, installed as obvious. Andreas. * gcc.target/ia64/20090324-1.c: Fix implicit declarations and implicit int. * gcc.target/ia64/mfused-madd-vect.c: Likewise. * gcc.target/ia64/mno-fused-madd-vect.c: Likewise. * gcc.target/ia64/pr2968

[committed] gnu11 fallout: ada

2014-10-16 Thread Marek Polacek
This fixes one test in the Ada testsuite (there may be more of these). Applying to trunk. 2014-10-16 Marek Polacek * ada/acats/tests/cd/cd300051.c: Fix defaulting to int. diff --git gcc/testsuite/ada/acats/tests/cd/cd300051.c gcc/testsuite/ada/acats/tests/cd/cd300051.c index 5771fc8

[committed] gnu11 fallout: i686

2014-10-16 Thread Marek Polacek
The following is a patch by Jakub that ought to fix gnu11 fallout on i686. Applying to trunk. 2014-10-16 Jakub Jelinek Marek Polacek * gcc.dg/20020122-2.c: Use dg-additional-options. Fix implicit declarations. * gcc.dg/pr32176.c: Likewise