re PR debug/37801 (DWARF output for inlined functions doesn't always use DW_TAG_inlined_subroutine)
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. From-SVN: r150796
Showing
gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c
0 → 100644
Please
register
or
sign in
to comment