This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix the most annoying LTO -g ICE in dwarf2out.c


On 10/19/2010 05:13 AM, Richard Guenther wrote:
A workaround on the LTO side would be to clear
DECL_CONTEXT on such functions.

On which functions? How do you detect on the LTO side that type merging has gone wrong?

On all functions which have a record or union type DECL_CONTEXT (all functions that are in some TYPE_METHODS which we do not stream). Of course I can't detect whether type merging has gone wrong.

That would be overkill, stipping debug info even when the types are ok.


Jason


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