http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50999
--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> 2011-11-08 09:29:08 UTC --- On Mon, 7 Nov 2011, hp at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50999 > > --- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-11-07 > 21:24:59 UTC --- > (In reply to comment #2) > > Created attachment 25734 [details] > > proposed patch > > > > Hm, on x86_64 the EH table is not empty (look at g++.dg/lto/20081109_1.C, > > the usual symtom is that the LTOed unit for that file does not contain > > info to unwind from the throw - can you confirm that?). The key is that > > lto_init_eh() has to be called for that unit - previously we saved > > flag_exceptions but now we only save explicit -fexceptions (thus, you > > can verify if explicitly adding that option to the compile command line > > fixes the issue). > > > > Does the attached patch help? It tries to start to address the (yet > > unsolved) > > issue of preserving lang-dependent options. > > I'll throw this patch to a test session - but I thought you mentioned you have > access to powerpc-linux, wouldn't it be more productive for you to debug > there? ;) Trying to optimize my spare cycles ... when I have to resort to a ppc machine I have to setup a new devel environment everytime ... Richard.