Re: Generate annotations for a binary translator

2011-06-13 Thread 陳韋任
> The machine reorg pass in particular can change anything, and may change > the CFG. The delay slots pass may also change the CFG. It depends on > your particular target. From the comments and source code in gcc/reorg.c, I guess both machine reorg pass and delay slots pass are for delayed-bra

G++ 4.3.4 (with Cygwin 1.7) vs.G++ 4.5.2 (with MinGW) ???

2011-06-13 Thread Jan Chludzinski
Just finished compiling some numerical code (developed using the Borland C++ compiler) using G++ 4.3.4 (that came with Cygwin 1.7). The answers are different from what I get using the Borland compiler (circa 2002).  I have known correct answers from some NASA code and compare against those. I've t

Seeing gcc as an intelligent agent

2011-06-13 Thread Franck Z
Hello, I would like to ask the developpers' community about an idea that interests me these days. It comes from the fact that the compilation time when I try to run the "make" command on the source code for gcc is too long for the configuration I use. Indeed, I enjoy the flexibility of USB k

Re: G++ 4.3.4 (with Cygwin 1.7) vs.G++ 4.5.2 (with MinGW) ???

2011-06-13 Thread Jonathan Wakely
On 13 June 2011 10:01, Jan Chludzinski: > Just finished compiling some numerical code (developed using the > Borland C++ compiler) using G++ 4.3.4 (that came with Cygwin 1.7). The > answers are different from what I get using the Borland compiler > (circa 2002).  I have known correct answers from s

Re: Seeing gcc as an intelligent agent

2011-06-13 Thread Jonathan Wakely
On 13 June 2011 10:44, Franck Z wrote: > Hello, > > I would like to ask the developpers' community about an idea that interests > me these days. > > It comes from the fact that the compilation time when I try to run the > "make" command on the source code for gcc is too long for the configuration >

Re: G++ 4.3.4 (with Cygwin 1.7) vs.G++ 4.5.2 (with MinGW) ???

2011-06-13 Thread Jan Chludzinski
Understood. It's code I inherited and would require a great deal of time time wade through. I'm contracting and don't have the time now. ---Jan On Mon, Jun 13, 2011 at 5:51 AM, Jonathan Wakely wrote: > On 13 June 2011 10:01, Jan Chludzinski: >> Just finished compiling some numerical code (deve

Re: Is VIEW_CONVERT_EXPR an lvalue? (was Re: RFA (fold): PATCH for c++/49290 (folding *(T*)(ar+10)))

2011-06-13 Thread Richard Guenther
On Mon, Jun 13, 2011 at 12:10 AM, Jason Merrill wrote: > On 06/12/2011 06:59 AM, Richard Guenther wrote: >> >> The please provide a specification on what a VIEW_CONVERT_EXPR does >> to type-based alias analysis. > > If the alias set of the VIEW_CONVERT_EXPR type the same as the set for the > opera

Re: Seeing gcc as an intelligent agent

2011-06-13 Thread Franck Z
Thank you very much! ccache really looks like it will address my problem. I'm trying it. I'm also quite relieved not to have to dig into the source of "make". It looked scary! Thanks also for the information about gcc-in-cxx. It puzzled me not to understand why it didn't show "class" struct

Re: RFA (fold): PATCH for c++/49290 (folding *(T*)(ar+10))

2011-06-13 Thread Jason Merrill
On 06/13/2011 06:51 AM, Richard Guenther wrote: But I suppose you want the array-ref be folded to a constant eventually? Right. I'm not going to keep arguing about VIEW_CONVERT_EXPR, but that brings me back to my original question: is it OK to add a permissive mode to the function, or should

Re: Generate annotations for a binary translator

2011-06-13 Thread Ian Lance Taylor
陳韋任 writes: >> > At the end of the link belows, >> > >> > http://gcc.gnu.org/onlinedocs/gccint/Maintaining-the-CFG.html#Maintaining-the-CFG >> > >> > It says, >> > >> > "Note that at present, the representation of control flow in the tree >> > representation is discarded before expanding t

Re: Generate annotations for a binary translator

2011-06-13 Thread Ian Lance Taylor
陳韋任 writes: >> The machine reorg pass in particular can change anything, and may change >> the CFG. The delay slots pass may also change the CFG. It depends on >> your particular target. > > From the comments and source code in gcc/reorg.c, I guess both machine > reorg pass and delay slots pa

[google] Merged google/main -> google/gcc-4_6

2011-06-13 Thread Diego Novillo
This merge brings google/gcc-4_6 up to rev 174986 from google/main. Validated on x86_64. Diego.