OSDN Git Service

Avoid emitting bogus debug info that confuses gdb.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Apr 2005 00:06:34 +0000 (00:06 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Apr 2005 00:06:34 +0000 (00:06 +0000)
commit6e395578250dfc5851c1d0e5b38570af82ef563d
treec24b827b097f8525a893e678dcf6a8f39be24cca
parentcef8055d74532525ab53b4a751de4cdc66e93a2a
Avoid emitting bogus debug info that confuses gdb.
PR c++/20805
* dwarf2out.c (gen_variable_die): Don't emit a specification if this
is another declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98473 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/dwarf2out.c