https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87338
--- Comment #9 from James Clarke <jrtc27 at jrtc27 dot com> --- (In reply to James Clarke from comment #6) > Created attachment 46245 [details] > Proposed patch > > Currently performing a test build with this patch, but applying > `s/^.LBI[0-9]*:$/[&]/g` to the stage2 (the one with debug info enabled) > assembly for one of the differing files fixed the differences to the stage3 > file, so I'm confident this will fix it (assuming my change actually > compiles). Patch confirmed to work locally (also, stage2 and stage3 should be swapped in the above comment, since stage2 is the one that *disables* debug info). I will send it to the mailing list shortly.