Avoid emitting bogus debug info that confuses gdb.
commit4424eb914843237918e03cab5ba71225e470954c
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 21 Apr 2005 00:06:34 +0000 (20 17:06 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 21 Apr 2005 00:06:34 +0000 (20 17:06 -0700)
treec24b827b097f8525a893e678dcf6a8f39be24cca
parent78ecf64c1bfd2104ce836b7ce029f3aebd66ead8
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.

From-SVN: r98473
gcc/dwarf2out.c