PR other/54324: allow bootstrapping with older compilers

2012-12-11 Thread Aldy Hernandez
Hi Richard. Your last patch for this PR suggested we verify our assumptions wrt a least common C++ compiler to build trunk with. Since I already had the offended system at hand (Red Hat Linux 8.0), I decided to investigate a bit further. g++ 3.4 builds trunk just fine, but anything prior to

Re: PR other/54324: allow bootstrapping with older compilers

2012-12-12 Thread Richard Biener
On Tue, 11 Dec 2012, Aldy Hernandez wrote: > Hi Richard. > > Your last patch for this PR suggested we verify our assumptions wrt a least > common C++ compiler to build trunk with. Since I already had the offended > system at hand (Red Hat Linux 8.0), I decided to investigate a bit further. > >

Re: PR other/54324: allow bootstrapping with older compilers

2012-12-12 Thread Steven Bosscher
On Wed, Dec 12, 2012 at 6:07 AM, Aldy Hernandez wrote: > I don't know how much of this is a fool's errand, and if we want to commit > to supporting < GCC 3.4, but your patch suggested c++98, and GCC 3.2 claims > such. GCC 3.2 claims many things, but any GCC that has the old C++ parser has known no

Re: PR other/54324: allow bootstrapping with older compilers

2012-12-12 Thread Teresa Johnson
On Wed, Dec 12, 2012 at 2:21 AM, Steven Bosscher wrote: > On Wed, Dec 12, 2012 at 6:07 AM, Aldy Hernandez wrote: >> I don't know how much of this is a fool's errand, and if we want to commit >> to supporting < GCC 3.4, but your patch suggested c++98, and GCC 3.2 claims >> such. > > GCC 3.2 claims

Re: PR other/54324: allow bootstrapping with older compilers

2012-12-12 Thread Richard Biener
On Wed, 12 Dec 2012, Teresa Johnson wrote: > On Wed, Dec 12, 2012 at 2:21 AM, Steven Bosscher > wrote: > > On Wed, Dec 12, 2012 at 6:07 AM, Aldy Hernandez wrote: > >> I don't know how much of this is a fool's errand, and if we want to commit > >> to supporting < GCC 3.4, but your patch suggested

Re: PR other/54324: allow bootstrapping with older compilers

2012-12-12 Thread Teresa Johnson
On Wed, Dec 12, 2012 at 7:25 AM, Richard Biener wrote: > On Wed, 12 Dec 2012, Teresa Johnson wrote: > >> On Wed, Dec 12, 2012 at 2:21 AM, Steven Bosscher >> wrote: >> > On Wed, Dec 12, 2012 at 6:07 AM, Aldy Hernandez wrote: >> >> I don't know how much of this is a fool's errand, and if we want t

Re: PR other/54324: allow bootstrapping with older compilers

2012-12-18 Thread Aldy Hernandez
On 12/12/12 03:33, Richard Biener wrote: On Tue, 11 Dec 2012, Aldy Hernandez wrote: 4. Type checking as part of a `for' initializer segfaults on g++ 3.2: for (type = TYPE_MAIN_VARIANT (blah); ) The only reasonable thing I could think of, was disabling the tree checking code

Re: PR other/54324: allow bootstrapping with older compilers

2012-12-18 Thread Richard Biener
On Tue, 18 Dec 2012, Aldy Hernandez wrote: > On 12/12/12 03:33, Richard Biener wrote: > > On Tue, 11 Dec 2012, Aldy Hernandez wrote: > > > 4. Type checking as part of a `for' initializer segfaults on g++ 3.2: > > > > > > for (type = TYPE_MAIN_VARIANT (blah); ) > > > > > > The only reas