This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/41821] ICE in LTO when linking



------- Comment #4 from rguenther at suse dot de  2009-10-25 16:39 -------
Subject: Re:  ICE in LTO when linking

On Sun, 25 Oct 2009, mckelvey at maskull dot com wrote:

> 
> 
> ------- Comment #3 from mckelvey at maskull dot com  2009-10-25 16:32 -------
> (In reply to comment #2)
> > Can you instead launch the link command-line with -v -save-temps appended
> > and from the output re-run the lto1 command invocation inside gdb and do
> > 
> > (gdb) b internal_error
> > (gdb) run
> > (gdb) up 2
> > 
> > you should be at gimple.c:3488 now, if not go up/down frames until you are
> > 
> > (gdb) call debug_tree (t1)
> > 
> > and paste the output of that here?  If t1 is optimized out at that point
> > try going up one more frame and try again there with the proper call
> > argument.
> 
> t1 is not available anywhere. Should I rebuild gcc with CFLAGS set to -g -O0?

that would be nice! (remember to use --disable-bootstrap)

thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41821


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]