Re: Bootstrap failure on powerpc-apple-darwin8 with Ada

2005-08-19 Thread Daniel Berlin
On Sat, 2005-08-20 at 00:44 +0200, Laurent GUERBY wrote: > On Sat, 2005-08-20 at 00:36 +0200, Laurent GUERBY wrote: > > A patch by Andrew Pinski is there: > > > > http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html > > > > But review was negative, so it was not commited. > > > > Hope this he

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Andrew Pinski
On Aug 19, 2005, at 8:16 PM, Stephane Wirtel wrote: It is a very simple mark and sweep GC and not realy useful for most other projects. You mark each struct for GCable and all static and global variables too. You cannot have only a reference to a GCable on the stack (it has to be in a GC

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Stephane Wirtel
 > There's also boehm-gc: > > http://www.hpl.hp.com/personal/Hans_Boehm/gc/ > > which is shipped with gcc for java's use. > > Mostly depends on what you're looking at the gc for - whether it's > for your language, for hacking on gcc, or something else. Thanks Eric, -- Stephane Wirtel <[E

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Eric Christopher
On Aug 19, 2005, at 5:07 PM, Andrew Pinski wrote: Hi, With this page from Wikipedia, http://en.wikipedia.org/wiki/ GNU_Compiler_Collection, in the "See also" section, there is a sentence about a Garbage collected included in GCC. There's also boehm-gc: http://www.hpl.hp.com/personal/H

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Stephane Wirtel
Le Friday 19 August 2005 a 20:08, Andrew Pinski ecrivait: > > > > Hi, > > > > With this page from Wikipedia, > > http://en.wikipedia.org/wiki/GNU_Compiler_Collection, in the "See also" > > section, > > there is a sentence about a Garbage collected included in GCC. > > > > Is it true ? > >

Re: Gcc and a Garbage Collector.

2005-08-19 Thread Andrew Pinski
> > Hi, > > With this page from Wikipedia, > http://en.wikipedia.org/wiki/GNU_Compiler_Collection, in the "See also" > section, > there is a sentence about a Garbage collected included in GCC. > > Is it true ? Yes. > If yes, how can I use it with my c++ source code ? (documentation, > artic

Gcc and a Garbage Collector.

2005-08-19 Thread Stephane Wirtel
Hi, With this page from Wikipedia, http://en.wikipedia.org/wiki/GNU_Compiler_Collection, in the "See also" section, there is a sentence about a Garbage collected included in GCC. Is it true ? If yes, how can I use it with my c++ source code ? (documentation, articles, tutorials...). Thanks

how to compile gcc

2005-08-19 Thread Jiang Long
Hello, I 'd like to dig into gcc internals, and would like to compile it with -g. I can't find any document on how to do that? I tried make BOOT_CFLAGS=-g CFLAGS=-g, but it still will add '-O2' later on. Any documentation on how GCC is compiled? what are the stages of the compilation? Tha

Re: Fwd: [RFC] - Regression exposed by recent change to compress_float_constant

2005-08-19 Thread Ian Lance Taylor
On Aug 10, 2005, at 12:43 PM, Fariborz Jahanian wrote: > + /* APPLE LOCAL begin radar 4153339 */ > + if (n_sets == 1 && GET_CODE (sets[i].src) == REG > + && src_const && GET_CODE (src_const) == CONST_DOUBLE) > + { > + src_folded = src_const; > + src_folded_cost =

Fwd: [RFC] - Regression exposed by recent change to compress_float_constant

2005-08-19 Thread Dale Johannesen
Fariborz is still having problems with his mailer and has asked me to forward this. On Aug 10, 2005, at 2:35 PM, Dale Johannesen wrote: On Aug 10, 2005, at 12:43 PM, Fariborz Jahanian wrote: Following patch has exposed an optimization shortcoming: 2005-07-12 Dale Johannesen <[EMAIL PROTECTED]>

Re: Bootstrap failure on powerpc-apple-darwin8 with Ada

2005-08-19 Thread Laurent GUERBY
On Sat, 2005-08-20 at 00:36 +0200, Laurent GUERBY wrote: > A patch by Andrew Pinski is there: > > http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html > > But review was negative, so it was not commited. > > Hope this helps, > > Laurent > > PS: is there a PR for this one? Thanks to Andrew

Re: Bootstrap failure on powerpc-apple-darwin8 with Ada

2005-08-19 Thread Laurent GUERBY
tempts to build mainline on darwin8 have failed with a > bugbox in Ada. > > +===GNAT BUG > DETECTED==+ > | 4.1.0 20050819 (experimental) (powerpc-apple-darwin8.3.0) GCC > error: | > | tree check: expected class ex

Bootstrap failure on powerpc-apple-darwin8 with Ada

2005-08-19 Thread Chris Douty
Howdy, My last two attempts to build mainline on darwin8 have failed with a bugbox in Ada. +===GNAT BUG DETECTED==+ | 4.1.0 20050819 (experimental) (powerpc-apple-darwin8.3.0) GCC error: | | tree check: expected class expression

Re: [PATCH]: Proof-of-concept for dynamic format checking

2005-08-19 Thread Ian Lance Taylor
Tom Tromey <[EMAIL PROTECTED]> writes: > Ian> The second approach is of course to write a little language which is > Ian> powerful enough to describe printf. The state machine language I > Ian> described earlier is too simple and perhaps overly cryptic. > > If we're doing that, why not use an al

Re: Internal Behavior of G++

2005-08-19 Thread Mike Stump
On Friday, August 19, 2005, at 01:57 PM, Aoun Raza wrote: I have developed it already, but I want to use GCC headers.. and I see the problems described earlier Must be a bug in your compiler, because g++ compiles it just fine, go ask them.

Re: Internal Behavior of G++

2005-08-19 Thread Aoun Raza
I have developed it already, but I want to use GCC headers.. and I see the problems described earlier --- Joe Buck <[EMAIL PROTECTED]> wrote: > On Fri, Aug 19, 2005 at 01:27:56PM -0700, Aoun Raza > wrote: > > I am developing an intermediate compile using EDG > C++ > > frontend. > > Then you are

Re: Internal Behavior of G++

2005-08-19 Thread Joe Buck
On Fri, Aug 19, 2005 at 01:27:56PM -0700, Aoun Raza wrote: > I am developing an intermediate compile using EDG C++ > frontend. Then you are on the wrong list.

Internal Behavior of G++

2005-08-19 Thread Aoun Raza
Hi all, I am developing an intermediate compile using EDG C++ frontend. When I try to compile any c++ source file with my compiler it returns many errors.. like James:~/C_PP/test> C_CC -I/usr/include/c++/3.3 -I/usr/include/c++/3.3/i486-linux-gnu -I/usr/include -c helloworld.cpp "/usr/includ

Re: [PATCH]: Proof-of-concept for dynamic format checking

2005-08-19 Thread Tom Tromey
> "Ian" == Ian Lance Taylor writes: Ian> To make this kind of thing useful, I see two paths that we can follow. Ian> The second approach is of course to write a little language which is Ian> powerful enough to describe printf. The state machine language I Ian> described earlier is too simpl

Re: ISO C++ forbids initialization in array new?

2005-08-19 Thread Andreas Schwab
Joe Buck <[EMAIL PROTECTED]> writes: > On Fri, Aug 19, 2005 at 09:19:55AM +0100, Jonathan Wakely wrote: >> I assume you are trying something like this: >> >> int* i = new int[5](23); > > While this is not gcc-help, maybe we could make a FAQ item for this. > For people who want to do something

Re: ISO C++ forbids initialization in array new?

2005-08-19 Thread Joe Buck
On Fri, Aug 19, 2005 at 09:19:55AM +0100, Jonathan Wakely wrote: > WU Yongwei wrote: > > > Well, I see this in the gcc error message. Can someone here kindly > > point to me which part of the Standard specified this behaviour? I > > thought it should be in 5.3.4, but was not able to find the wor

Question of pipeline description

2005-08-19 Thread Ling-hua Tseng
I'm porting GCC 4.0.2 to a new VLIW architecture. There are 10 functions units (2 RISCs and 8 DSPs) in the architecture. The pipeline stages are: IS, ID(fetch operand), E1(ALU), E2, E3, E4(write back to register) For the circuit area reason, the pipeline forwarding mechanism is not available acr

gcc successful builds on aix 5.3 ml 2

2005-08-19 Thread rhyatt
Full gcc 4.0.1 distribution used for source tree. Hardware: IBM 9113-550 power5 4-way bash-2.05b$ /builds/gcc-4.0.1/config.guess powerpc-ibm-aix5.3.0.0 bash-2.05b$ oslevel -r 5300-02 bash-2.05b$ gcc -v

Re: Keyword _Imaginary in C99 standard and in GCC

2005-08-19 Thread Joseph S. Myers
On Fri, 19 Aug 2005, Yao qi wrote: > Hi, everyone, > I have looked through C99 standard, in 6.4.1 Keywords, "_Imaginary" is > mentioned as a keyword in this standard. However, it seems that GCC can not > recognize it, report error: '_Imaginary' undeclared. I also search it in GCC > info, there

gcc-4.1-20050819 is now available

2005-08-19 Thread gccadmin
Snapshot gcc-4.1-20050819 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20050819/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.1 CVS branch with the following options: -D2005-08-19 10:43 UTC You'll

Re: [PATCH]: Proof-of-concept for dynamic format checking

2005-08-19 Thread Vincent Lefevre
On 2005-08-18 17:53:24 -0700, Joe Buck wrote: > On Thu, Aug 18, 2005 at 11:52:36PM +0200, Vincent Lefevre wrote: > > On 2005-08-18 21:53:47 +0200, Branko Čibej wrote: > > > Mike Stump wrote: > > [...] > > > > printf ("%d", i); > > [...] > > > Now imagine that the output of the original program de

Re: ISO C++ forbids initialization in array new?

2005-08-19 Thread Alisdair Meredith
WU Yongwei wrote: > Well, I see this in the gcc error message. Can someone here kindly > point to me which part of the Standard specified this behaviour? I > thought it should be in 5.3.4, but was not able to find the words > there. > > By the way, anyone knows the rationale of this behaviour?

Re: ISO C++ forbids initialization in array new?

2005-08-19 Thread Jonathan Wakely
Jonathan Wakely wrote: > WU Yongwei wrote: > > > Well, I see this in the gcc error message. Can someone here kindly > > point to me which part of the Standard specified this behaviour? I > > thought it should be in 5.3.4, but was not able to find the words > > there. > > It might be better if

Re: ISO C++ forbids initialization in array new?

2005-08-19 Thread Jonathan Wakely
WU Yongwei wrote: > Well, I see this in the gcc error message. Can someone here kindly > point to me which part of the Standard specified this behaviour? I > thought it should be in 5.3.4, but was not able to find the words > there. It might be better if the error message said "non-default init