https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470
--- Comment #10 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- And the other issue could be this: @@ -28976,7 +28982,7 @@ dwarf2out_set_ignored_loc (unsigned int line, unsigned int column, dw_fde_ref fde = cfun->fde; fde->ignored_debug = false; - set_cur_line_info_table (function_section (fde->decl)); + set_cur_line_info_table (current_function_section ()); dwarf2out_source_line (line, column, filename, 0, true); } set_ignored_loc seems to switch to the wrong table...