bootstrap failure while compiling gcc/tree.c

2007-08-23 Thread Brian Sidebotham
../../gcc/gcc/tree.c: In function "build_string": ../../gcc/gcc/tree.c:1197: internal compiler error: in iterative_hash_expr, at tree.c:4189 Please submit a full bug report, with preprocessed source if appropriate. I have placed the pre-processed file here: http://www.valvers.com/gcc/arm-elf/tr

Re: bootstrap failure while compiling gcc/tree.c

2007-08-23 Thread Brian Sidebotham
Brian Sidebotham wrote: ../../gcc/gcc/tree.c: In function "build_string": ../../gcc/gcc/tree.c:1197: internal compiler error: in iterative_hash_expr, at tree.c:4189 Please submit a full bug report, with preprocessed source if appropriate. I have placed the pre-processed file here: http://www.v

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-24 Thread Brian Sidebotham
Brian Sidebotham wrote: Brian Sidebotham wrote: ../../gcc/gcc/tree.c: In function "build_string": ../../gcc/gcc/tree.c:1197: internal compiler error: in iterative_hash_expr, at tree.c:4189 Please submit a full bug report, with preprocessed source if appropriate. I have placed the pre-processe

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-26 Thread Kaveh R. GHAZI
On Fri, 24 Aug 2007, Brian Sidebotham wrote: > This ICE is caused by the following patch: > > 2007-08-10 Kaveh R. Ghazi <[EMAIL PROTECTED]> > > * system.h (CONST_CAST): New. > * c-decl.c (c_make_fname_decl): Use it. > * c-lex.c (cb_ident, lex_string): Likewise. > * c-type

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-26 Thread Richard Guenther
On 8/26/07, Kaveh R. GHAZI <[EMAIL PROTECTED]> wrote: > On Fri, 24 Aug 2007, Brian Sidebotham wrote: > > > This ICE is caused by the following patch: > > > > 2007-08-10 Kaveh R. Ghazi <[EMAIL PROTECTED]> > > > > * system.h (CONST_CAST): New. > > * c-decl.c (c_make_fname_decl): Use it.

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-26 Thread Arnaud Charlet
> I've many times succesfully bootstrapped GCC with other (older!) versions > (2.8.1, 3.4.6) so it's just random bad luck we ran into this now. I also > verified that your tree.i file compiles with 4.1.3 (prerelease) and 4.2.2 > (prerelease). Mainline obviously works too or nobody could bootstrap

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-26 Thread Kaveh R. GHAZI
On Sun, 26 Aug 2007, Richard Guenther wrote: > > +#if defined(__GNUC__) && GCC_VERSION != 4000 > > There were 4.0.0, 4.0.1, 4.0.2, 4.0.3 and 4.0.4 releases. Yes, and... ? GCC_VERSION == 4000 for all of them. -- Kaveh R. Ghazi [EMAIL PROTECTED]

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-26 Thread Kaveh R. GHAZI
On Sun, 26 Aug 2007, Arnaud Charlet wrote: > > I've many times succesfully bootstrapped GCC with other (older!) versions > > (2.8.1, 3.4.6) so it's just random bad luck we ran into this now. I also > > verified that your tree.i file compiles with 4.1.3 (prerelease) and 4.2.2 > > (prerelease). Ma

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-26 Thread Arnaud Charlet
> Was your failure the same ICE, or something else? You didn't provide me > with any detail to figure out what to do. I'd be happy to address your > issue as well if you help me with more info. Indeed, I should have clarified. I thought the issue was the same, but it's actually a different one,

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-28 Thread Brian Sidebotham
Kaveh R. GHAZI wrote: On Fri, 24 Aug 2007, Brian Sidebotham wrote: This ICE is caused by the following patch: 2007-08-10 Kaveh R. Ghazi <[EMAIL PROTECTED]> * system.h (CONST_CAST): New. * c-decl.c (c_make_fname_decl): Use it. * c-lex.c (cb_ident, lex_string): Likewis

Re: bootstrap failure while compiling gcc/tree.c (ICE)

2007-08-28 Thread Kaveh R. GHAZI
On Tue, 28 Aug 2007, Brian Sidebotham wrote: > > 2007-08-26 Kaveh R. Ghazi <[EMAIL PROTECTED]> > > > > * system.h (CONST_CAST): Avoid union for gcc-4.0.x. > > > > diff -rup orig/egcc-SVN20070825/gcc/system.h egcc-SVN20070825/gcc/system.h > > --- orig/egcc-SVN20070825/gcc/system.h 2007-0