https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448
--- Comment #22 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #21) > (In reply to Iain Sandoe from comment #20) > > + && DECL_SOURCE_LOCATION (decl) != BUILTINS_LOCATION > > This seems reasonable. My testing completed successfully; with Aldy's changes to dwarf2out.c and the patch mentioned above. Obv. not my call, but LGTM as a solution.