stack frame size

2009-08-01 Thread Dineth
Assume the following code. F() { ... A(); } A is called inside F, I want to analyze the stack frame size of F() when A is called. Can this be done in gcc? Note that there may be multiple paths leading to the call site of A(). Which IR should I use? Thanks.

Re: extern variable

2009-08-01 Thread Michael Eager
sumanth wrote: Hi, How can I make sure the debugging information printed by my compiler for extern variables is correct. Make sure you compile with -g. If you don't generate debug info for the variable, gdb will default to printing it as an unknown symbol. -- Michael Eagerea...@eage

Re: Xilinx MicroBlaze port

2009-08-01 Thread Gerald Pfeifer
On Sat, 1 Aug 2009, Michael Eager wrote: > Paolo Bonzini suggested that I create a branch off the > gcc-4.1.2 tag and commit the original port to this branch. > Then move this branch up to 4.3.x and then head. > > OK to create a microblaze branch? If you have write access to the repository, you c

Re: Xilinx MicroBlaze port

2009-08-01 Thread Michael Eager
Michael Eager wrote: Hi -- This is just a heads-up that I'm working on GCC support for the Xilinx MicroBlaze. It is currently based on gcc-4.1.2 and I'm porting it to gcc-4.5.0. Paolo Bonzini suggested that I create a branch off the gcc-4.1.2 tag and commit the original port to this branch. T

Re: compiling libgomp separately

2009-08-01 Thread Dave Korn
Robert Oeffner wrote: > Hi, > I'm trying to port GCC 4.4.0 to interix. I have some issues with > libgomp. To save time rather than bootstrapping GCC each time I make a > change I would like to compile libgomp separately to make my amendments > take effect. So I copied gcc-4.4.0/libgomp/ to a separa

compiling libgomp separately

2009-08-01 Thread Robert Oeffner
Hi, I'm trying to port GCC 4.4.0 to interix. I have some issues with libgomp. To save time rather than bootstrapping GCC each time I make a change I would like to compile libgomp separately to make my amendments take effect. So I copied gcc-4.4.0/libgomp/ to a separate folder mylibgomp/ and fro

Re: MELT tutorial on the wiki

2009-08-01 Thread Basile STARYNKEVITCH
Paolo Bonzini wrote: For example, gdb has function that in the past could return null, but which now cannot. So, I'd like to find all places where the return result is checked. Or, gdb has a TRY_CATCH macro which expands to a couple of nested loops. It is not ok to 'return' or 'goto' from insid

Re: MELT tutorial on the wiki

2009-08-01 Thread Paolo Bonzini
For example, gdb has function that in the past could return null, but which now cannot. So, I'd like to find all places where the return result is checked. Or, gdb has a TRY_CATCH macro which expands to a couple of nested loops. It is not ok to 'return' or 'goto' from inside the inner loop, as t

Re: Output sections

2009-08-01 Thread Mohamed Shafi
2009/8/1 Dave Korn : > Mohamed Shafi wrote: >> 2009/8/1 Dave Korn : >>> Mohamed Shafi wrote: I am looking for adding something to the end of each section in the generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to keep track of the sections that are being emitted. But

Re: Output sections

2009-08-01 Thread Dave Korn
Mohamed Shafi wrote: > 2009/8/1 Dave Korn : >> Mohamed Shafi wrote: >>> I am looking for adding something to the end of each section in the >>> generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to >>> keep track of the sections that are being emitted. But from >>> TARGET_ASM_FILE_END

Re: MELT tutorial on the wiki

2009-08-01 Thread Ralf Wildenhues
* Basile STARYNKEVITCH wrote on Sat, Aug 01, 2009 at 08:10:24AM CEST: > I don"t know really how to fix that quickly! I must confess that > autoconf related files in GCC scares me a big lot. BTW, I really > cannot imagine why GCC still required autoconf 2.59 specifically, > and not 2.63. What is so