[possible BUG] gcc's vcg creation code (-dv flag)

2007-08-26 Thread Sunzir Deepur
Hi all, there is a problem in the vcg file created when compiling the following code with gcc's -fdump-rtl-stack -dv: #include void fun(void) { printf("fun\n"); } int main(void) { fun(); return 0; } the vcg file created has the two nodes "main.0" and "fun.0" disconnect

Bootstrap failure with --enable-checking=all,rtl

2007-08-26 Thread Andreas Jaeger
I get a bootstrap error on Linux/x86-64 with current svn: /abuild/aj/gcc/./prev-gcc/xgcc -B/abuild/aj/gcc/./prev-gcc/ -B/opt/gcc/4.3-devel/x86_64-suse-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format

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: New download mirror

2007-08-26 Thread Gerald Pfeifer
Hi Max, On Fri, 3 Aug 2007, Max Bear wrote: > I just add a new mirror. The server is located at US (Dallas, 100mb > connection). I am doing daily upate on this mirror. Here is the url: > > http://gcc.site2nd.org/gcc/ > > It's a little thing that I can do to contribute to the community. > > If y

Re: compiler chain on AIX

2007-08-26 Thread David Edelsohn
> Ed S Peschko writes: Ed> Here's a couple quick ones for you, one that I've had some luck at unwinding - Ed> The gcc compiler has a flag '-b' which also is used by the underlying linker. Ed> If I for example, change: Ed> gcc -bmaxdata:0x8000 Ed> to Ed> gcc -Wl,-bmaxdata:0x800

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 with --enable-checking=all,rtl

2007-08-26 Thread Rask Ingemann Lambertsen
On Sun, Aug 26, 2007 at 03:27:35PM +0200, Andreas Jaeger wrote: > > I get a bootstrap error on Linux/x86-64 with current svn: > > /abuild/aj/gcc/./prev-gcc/xgcc -B/abuild/aj/gcc/./prev-gcc/ > -B/opt/gcc/4.3-devel/x86_64-suse-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W > -Wall -Wwrite-strings -Wstr

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: Official Inclusion of GCC Extension Modules (Or similar)

2007-08-26 Thread Ben Elliston
On Sat, 2007-08-25 at 17:00 +1000, Brendon Costa wrote: > I have a project that could benefit a lot from using something similar > to GEM (http://www.ecsl.cs.sunysb.edu/gem/). I have not used GEM (As > doing so is pointless currently and thus my email), but to summarise for > others not familiar w

Re: GCC plugin - was: Official Inclusion of GCC Extension Modules (Or similar)

2007-08-26 Thread Brendon Costa
Ben Elliston wrote: > I'm not sure how GEM (another Stony Book University project) relates to > the talk given at this year's GCC Summit, but there was a talk about a > plug-in architecture for GCC to allow modules to operate on the GIMPLE > IR ("Extending GCC with Modular GIMPLE Optimisations" by

Re: GCC plugin - was: Official Inclusion of GCC Extension Modules (Or similar)

2007-08-26 Thread Ben Elliston
On Mon, 2007-08-27 at 11:40 +1000, Brendon Costa wrote: > Thank you for the information. It sounds like this is almost what I am > looking for. I require hooks into the C GENERIC transformation stage > (before GENERIC is transformed into GIMPLE). The paper mentioned that > this is not yet done but

RE: Bootstrap failure with --enable-checking=all,rtl

2007-08-26 Thread Fu, Chao-Ying
Hi, Sorry about the breakage. I checked in the change (rtl.h) to fix this issue. SendingChangeLog Sendingrtl.h Transmitting file data .. Committed revision 127825. Thanks a lot! Regards, Chao-ying -Original Message- From: Andreas Jaeger [mailto:[EMAIL PROTECTED] S