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)
PR c++/20805
* dwarf2out.c (gen_variable_die): Don't emit a specification if this
is another declaration.

From-SVN: r98472

gcc/ChangeLog

index 89f57e8298dded02be6ccb224aee0aa58fac0dbc..82ca6cb44f5584b686eb59e3f828def6c04665c9 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-20  James E Wilson  <wilson@specifixinc.com>
+
+       PR c++/20805
+       * dwarf2out.c (gen_variable_die): Don't emit a specification if this
+       is another declaration.
+
 2005-04-21  Hans-Peter Nilsson  <hp@axis.com>
 
        * config/cris/predicates.md: New file.