gcc/ChangeLog:
authorccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:32:29 +0000 (20:32 +0000)
committerccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:32:29 +0000 (20:32 +0000)
commitc9b44d2c764801aaca057e04c73edb0c1facf832
treed2b2d979716740ba72c42ad6455dfd7dd75bff7e
parent55c54afb94bd9a36803c2bec7fb072c3f4d1f427
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151185 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/dwarf2out.c
gcc/testsuite/g++.dg/debug/dwarf2/pr41063.C [new file with mode: 0644]