Re: Status of the PPH implementation

2012-05-25 Thread Joseph S. Myers
On Thu, 24 May 2012, Diego Novillo wrote: > The document is at: > http://gcc.gnu.org/wiki/pph?action=AttachFile&do=view&target=pph-in-gcc.pdf One thing I wonder from this document is whether there are changes it would be useful to make to system headers (both in GCC and in glibc) to improve mod

Re: Status of the PPH implementation

2012-05-25 Thread Jason Merrill
On 05/25/2012 11:37 AM, Joseph S. Myers wrote: and it should be possible to eliminate the __need_* special cases for some system headers by having more, smaller headers set up to define individual types. I was thinking the same thing. Jason

Re: Status of the PPH implementation

2012-05-25 Thread Diego Novillo
On 12-05-25 12:25 , Jason Merrill wrote: On 05/25/2012 11:37 AM, Joseph S. Myers wrote: and it should be possible to eliminate the __need_* special cases for some system headers by having more, smaller headers set up to define individual types. I was thinking the same thing. Yes. Increased

Should --with-build-sysroot be default to --with-sysroot?

2012-05-25 Thread H.J. Lu
When --with-sysroot is used to configure gcc, build will usually fail if --with-build-sysroot isn't set. Should --with-build-sysroot be set to the same value as --with-sysroot by default if --with-sysroot is used? -- H.J.

Re: Should --with-build-sysroot be default to --with-sysroot?

2012-05-25 Thread NightStrike
Under what conditions does it fail? We use it daily at mingw-w64. On Fri, May 25, 2012 at 2:33 PM, H.J. Lu wrote: > When --with-sysroot is used to configure gcc, build will usually fail > if  --with-build-sysroot isn't set.  Should  --with-build-sysroot be set to > the same value as --with-sysro

Re: Should --with-build-sysroot be default to --with-sysroot?

2012-05-25 Thread H.J. Lu
On Fri, May 25, 2012 at 11:36 AM, NightStrike wrote: > Under what conditions does it fail?  We use it daily at mingw-w64. > > On Fri, May 25, 2012 at 2:33 PM, H.J. Lu wrote: >> When --with-sysroot is used to configure gcc, build will usually fail >> if  --with-build-sysroot isn't set.  Should  --

Re: Status of the PPH implementation

2012-05-25 Thread Joseph S. Myers
On Fri, 25 May 2012, Diego Novillo wrote: > On 12-05-25 12:25 , Jason Merrill wrote: > > On 05/25/2012 11:37 AM, Joseph S. Myers wrote: > > > and it should be possible to eliminate the __need_* special cases > > > for some system headers by having more, smaller headers set up to define > > > indiv

Re: Status of the PPH implementation

2012-05-25 Thread Diego Novillo
On 12-05-25 14:54 , Joseph S. Myers wrote: On Fri, 25 May 2012, Diego Novillo wrote: On 12-05-25 12:25 , Jason Merrill wrote: On 05/25/2012 11:37 AM, Joseph S. Myers wrote: and it should be possible to eliminate the __need_* special cases for some system headers by having more, smaller header

Re: Should --with-build-sysroot be default to --with-sysroot?

2012-05-25 Thread H.J. Lu
On Fri, May 25, 2012 at 11:40 AM, H.J. Lu wrote: > On Fri, May 25, 2012 at 11:36 AM, NightStrike wrote: >> Under what conditions does it fail?  We use it daily at mingw-w64. >> >> On Fri, May 25, 2012 at 2:33 PM, H.J. Lu wrote: >>> When --with-sysroot is used to configure gcc, build will usually

[cxx-conversion] gcc-4.7.0 on Cygwin and MinGW32 with --enable-build-with-cxx successes

2012-05-25 Thread Aaron Gray
Hi, Just to let people know I have succeeded in building gcc-4.7.0 with --enable-build-with-cxx (All stages built as C++) on latest Cygwin with GCC 4.5.3 and on MinGW32 with a rebuilt GCC 4.6.2 as the GCC 4.6.2 that came with MinGW was missing stdarg.h and stddef.h and possibly other headers. Man

Re: Status of the PPH implementation

2012-05-25 Thread Lawrence Crowl
On 5/25/12, Diego Novillo wrote: > On 12-05-25 14:54 , Joseph S. Myers wrote: > > On Fri, 25 May 2012, Diego Novillo wrote: > > > On 12-05-25 12:25 , Jason Merrill wrote: > > > > On 05/25/2012 11:37 AM, Joseph S. Myers wrote: > > > > > and it should be possible to eliminate the __need_* > > > > >

Re: Status of the PPH implementation

2012-05-25 Thread Jonathan Wakely
On 25 May 2012 21:26, Diego Novillo wrote: > > - Some files give syntax errors when compiled in isolation because they are > missing symbols. for example, ext/algorithm needs __gnu_cxx::is_sorted. I'm not sure what this refers to ( either defines __gnu_cxx::is_sorted or has a using declaration for

gcc-4.6-20120525 is now available

2012-05-25 Thread gccadmin
Snapshot gcc-4.6-20120525 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20120525/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Should --with-build-sysroot be default to --with-sysroot?

2012-05-25 Thread NightStrike
On Fri, May 25, 2012 at 11:13 AM, H.J. Lu wrote: > It was a pilot error. Happens to the best of us :)

array bounds violation in caller-save.c : duplicate hard regs check added

2012-05-25 Thread DJ Delorie
If I apply this patch, which checks for duplicate hard registers within -fira-share-save-slots, the following *-elf targets fail due to the assert: bfin cris m32c rl78 rx sh sh64 v850 The following succeed: frv h8300 i386 ia64 m32r mep mipsisa32 mipsisa64 mn10300 powerpc tx39 W

Re: Status of the PPH implementation

2012-05-25 Thread Lawrence Crowl
On 5/25/12, Jonathan Wakely wrote: > On 25 May 2012 21:26, Diego Novillo wrote: > > - Some files give syntax errors when compiled in isolation > > because they are missing symbols. for example, ext/algorithm > > needs __gnu_cxx::is_sorted. > > I'm not sure what this refers to ( either > defines __