Hi! On Wed, 28 Sep 2016 11:28:16 +0200 (CEST), Richard Biener <rguent...@suse.de> wrote: > On Wed, 28 Sep 2016, Thomas Schwinge wrote: > > ([...] got committed in r240545.) For DWARF2_LINENO_DEBUGGING_INFO > > configurations (that is, nvptx; Bernd CCed, who originally authored the > > DWARF2_LINENO_DEBUGGING_INFO support), this breaks things because of > > uninitialized text_section_line_info/cur_line_info_table. OK to fix as > > follows? > > Ok.
Without changes committed to trunk in r241045: commit 84cb1b769377413a1b7cef73fc4f6022e046b0a9 Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Oct 12 13:09:26 2016 +0000 Un-break dwarf2out for DWARF2_LINENO_DEBUGGING_INFO configurations gcc/ * dwarf2out.c (dwarf2_lineno_debug_hooks): Use dwarf2out_assembly_start. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241045 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 3 +++ gcc/dwarf2out.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git gcc/ChangeLog gcc/ChangeLog index d6880d9..c66b7a7 100644 --- gcc/ChangeLog +++ gcc/ChangeLog @@ -1,5 +1,8 @@ 2016-10-12 Thomas Schwinge <tho...@codesourcery.com> + * dwarf2out.c (dwarf2_lineno_debug_hooks): Use + dwarf2out_assembly_start. + * Makefile.in (SELFTEST_FLAGS): Add -nostdinc. * Makefile.in (SELFTEST_FLAGS): New variable. diff --git gcc/dwarf2out.c gcc/dwarf2out.c index b5787ef..98deeef 100644 --- gcc/dwarf2out.c +++ gcc/dwarf2out.c @@ -2540,7 +2540,7 @@ const struct gcc_debug_hooks dwarf2_lineno_debug_hooks = dwarf2out_init, debug_nothing_charstar, debug_nothing_charstar, - debug_nothing_void, + dwarf2out_assembly_start, debug_nothing_int_charstar, debug_nothing_int_charstar, debug_nothing_int_charstar, Grüße Thomas