https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-07-25 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to jwjagersma from comment #4) > Created attachment 44439 [details] > Proposed patch > > I cloned the fix that was applied to cygwin/mingw targets in SVN r259347. > There didn't seem to be any way to identify COFF targets for use in > dwarf2out.c, so I defined a new macro TARGET_COFF. I hope this is the right > way to do it. > > This patch works for me, please review and merge if possible. Thanks, that looks good to me. Can you post the patch to gcc-patc...@gcc.gnu.org please and state how you tested the patch (I suppose bootstrap was OK, etc.)? I'll take care of integrating the fix then.