Re: [PATCH] Fix PR51564

2011-12-15 Thread H.J. Lu
On Thu, Dec 15, 2011 at 4:42 AM, Richard Guenther wrote: > > This fixes PR51564 - we were streaming the TREE_ASM_WRITTEN flag > for TYPE_DECLs as-is, confusing the ltrans stage dwarf2out.c which > then only partly emit debug information, eventually ICEing > at dwarf2out.c:19288. > > The following

[PATCH] Fix PR51564

2011-12-15 Thread Richard Guenther
This fixes PR51564 - we were streaming the TREE_ASM_WRITTEN flag for TYPE_DECLs as-is, confusing the ltrans stage dwarf2out.c which then only partly emit debug information, eventually ICEing at dwarf2out.c:19288. The following patch does the same as we do for TYPE_Ps, stream that flag as false.