Avoid emitting bogus debug info that confuses gdb.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 20 Apr 2005 23:50:57 +0000 (16:50 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 20 Apr 2005 23:50:57 +0000 (16:50 -0700)
commit78ecf64c1bfd2104ce836b7ce029f3aebd66ead8
tree6078c767fcfc62b71c77f58c815637bfbcc1b416
parent68a813322bd01742d80aed81cd3ed013b054499b
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: r98472
gcc/ChangeLog