[Bug debug/66535] segfault in gen_subprogram_die after debug-early merge

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 15 16:35:00 GMT 2015


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

--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Mon Jun 15 16:34:53 2015
New Revision: 224486

URL: https://gcc.gnu.org/viewcvs?rev=224486&root=gcc&view=rev
Log:
        PR debug/66535
        * dwarf2out.c (gen_subprogram_die): Do not check a parent's tag if
        there is no parent.

Added:
    trunk/gcc/testsuite/gnat.dg/debug4.adb
    trunk/gcc/testsuite/gnat.dg/debug4_pkg.adb
    trunk/gcc/testsuite/gnat.dg/debug4_pkg.ads
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c



More information about the Gcc-bugs mailing list