https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Bernd Edlinger <edlin...@gcc.gnu.org>:

https://gcc.gnu.org/g:1ecd1e6c894fbdbc10fdcfee419922b24e1115ee

commit r12-740-g1ecd1e6c894fbdbc10fdcfee419922b24e1115ee
Author: Bernd Edlinger <bernd.edlin...@hotmail.de>
Date:   Tue May 11 17:55:18 2021 +0200

    Fix ICE in output_rnglists, at dwarf2out.c:12294

    In this testcase the compile unit consists of a single
    text section with a single embedded DECL_IGNORED_P function.
    So we have a kind of multi-range text section here.
    To avoid an ICE in output_rnglists we need to make sure
    that have_multiple_function_sections is set to true.
    This is a regression from
    e69ac020372 ("Add line debug info for virtual thunks")

    2021-05-12  Bernd Edlinger  <bernd.edlin...@hotmail.de>

            PR debug/100515
            * dwarf2out.c (dwarf2out_finish): Set
            have_multiple_function_sections with multi-range text_section.

            * gcc.dg/debug/dwarf2/pr100515.c: New testcase.

Reply via email to