This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/37801] DWARF output for inlined functions doesn't always use DW_TAG_inlined_subroutine



------- Comment #8 from dodji at gcc dot gnu dot org  2009-08-16 09:02 -------
Subject: Bug 37801

Author: dodji
Date: Sun Aug 16 09:02:25 2009
New Revision: 150796

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150796
Log:
Fix for PR debug/37801

gcc/ChangeLog:
        * gcc/dwarf2out.c (gen_inlined_subroutine_die): Concentrate on
        generating inlined subroutine die only. We shouldn't be
        called for anything else.
        (gen_block_die): Don't generate inline subroutine debug info for
        abstract blocks.

gcc/testsuite/ChangeLog:
        * gcc/testsuite/gcc.dg/debug/20020224-1.c: Adjust the comment.
        Make sure to trigger inlining optimizations.
        * gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/debug/20020224-1.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37801


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]