re PR debug/41063 (ICE in output_die)
authorCary Coutant <ccoutant@gcc.gnu.org>
Fri, 28 Aug 2009 20:32:29 +0000 (13:32 -0700)
committerCary Coutant <ccoutant@gcc.gnu.org>
Fri, 28 Aug 2009 20:32:29 +0000 (13:32 -0700)
commite6a83a8e9e211f45d862a81d22deb2aed8e66453
treed2b2d979716740ba72c42ad6455dfd7dd75bff7e
parent059a5f9f1cbfacf7f1102f1e03c62d9da453879c
re PR debug/41063 (ICE in output_die)

gcc/ChangeLog:

PR debug/41063
* dwarf2out.c (gen_type_die_with_usage): Use proper context for
struct/union/enum types local to a function.

gcc/testsuite/ChangeLog:

PR debug/41063
* g++.dg/debug/dwarf2/pr41063.C: New test.

From-SVN: r151185
gcc/dwarf2out.c
gcc/testsuite/g++.dg/debug/dwarf2/pr41063.C [new file with mode: 0644]