Re: at exit alternative for AIX

2012-08-20 Thread Ian Lance Taylor
On Mon, Aug 20, 2012 at 4:55 PM, Perry Smith wrote: > > collect2 is dying when it calls ld for the first time because __dso_handle is > not defined. It is being reference from the calls to __cxa_atexit. So, create another stub, and pass it into the first link. Ian

Re: at exit alternative for AIX

2012-08-20 Thread Perry Smith
Hi, I need more help on this project. collect2 is dying when it calls ld for the first time because __dso_handle is not defined. It is being reference from the calls to __cxa_atexit. What I had planned to do was define it in the small .c stub that collect2 creates but that doesn't get created

Re: -debug to collect2

2012-08-20 Thread Ian Lance Taylor
On Mon, Aug 20, 2012 at 5:45 AM, Perry Smith wrote: > Is there a way to get the -debug flag from the g++ command line to collect2? -Wl,-debug Ian

Re: Using DejaGNU on GCC's Testsuite

2012-08-20 Thread Jonathan Wakely
On 20/08/2012, PARAT Didier wrote: > Hi, > > I am using DejaGNU on GCC's Testsuite and a problem appeared to me, some > tests fail when they shouldn't be. > > For example: The test gcc.dg/pr27528.c has the line " /* { dg-options "" } > */ " which means that this test should be compiled without any

Re: Question about Dejagnu C++ Execution Test

2012-08-20 Thread Jeff Law
On 08/17/2012 09:34 PM, Iyer, Balaji V wrote: Hello Everyone I have a question regarding a DejaGNU execution tests for C++. For C I used several C-torture routines (e.g. c-torture-execute) to add execution tests into the testsuite. I am not able to find a similar set of routine to use in C++. Can

Using DejaGNU on GCC's Testsuite

2012-08-20 Thread PARAT Didier
Hi, I am using DejaGNU on GCC's Testsuite and a problem appeared to me, some tests fail when they shouldn't be. For example: The test gcc.dg/pr27528.c has the line " /* { dg-options "" } */ " which means that this test should be compiled without any options, right? But DejaGNU seems to pass so

Re: Compilation error between SVN trunk revision 190444 and 190442

2012-08-20 Thread Gerald Pfeifer
On Mon, 20 Aug 2012, Diego Novillo wrote: > Sorry about the breakage. I committed another patch that fixed the > 4.1 build failure without messing up other builds. I am actually surprised how smoothly the transition has gone overall! Gerald

Re: Compilation error between SVN trunk revision 190444 and 190442

2012-08-20 Thread Diego Novillo
On Sun, Aug 19, 2012 at 12:37 AM, Iyer, Balaji V wrote: >>-Original Message- >>From: Gerald Pfeifer [mailto:ger...@pfeifer.com] >>Sent: Saturday, August 18, 2012 7:16 PM >>To: Iyer, Balaji V >>Cc: gcc@gcc.gnu.org; Diego Novillo >>Subject: Re: Compilation error between SVN trunk revision 19

-debug to collect2

2012-08-20 Thread Perry Smith
Is there a way to get the -debug flag from the g++ command line to collect2? I've tried -v (which appears to be passed through) -debug and --Wl,-debug Right now, I do -v and then copy and paste the collect2 command adding the -debug by hand. Which works but is slower. Thank you, Perry

Question on calculating register pressure before ira pass

2012-08-20 Thread Bin.Cheng
Hi, Currently I am working on improving hoist pass by calculating register pressure and using the info to guide hoist process. It works well and I will send a patch once I finish it. In this work I reused codes in loop-invariant and called ira_set_pseudo_classes function to calculate register pres

Re: Problem running the libgomp testsuite

2012-08-20 Thread Dodji Seketeli
Hello Jiří, I think this question should be directed at gcc-h...@gcc.gnu.org. Please send any response to this email there. Jiří Paleček a écrit: > I tried to run "make check-c++" from the top directory of the source > code. Quoted from http://gcc.gnu.org/install/configure.html: we highly