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 #9 from dodji at gcc dot gnu dot org  2009-08-16 09:07 -------
Subject: Bug 37801

Author: dodji
Date: Sun Aug 16 09:07:40 2009
New Revision: 150797

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150797
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:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/dwarf2out.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/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]