2007-01-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 10:23:01 +0000 (10:23 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 10:23:01 +0000 (10:23 +0000)
commit56e902bdf9f034beb54fd58d5132590d2392d870
treeb5a56ddd28e97ab2018cadc459d5d5b909830ce6
parent159787b7cb52a4ba36be1ae117bc425cb9e41ea1
2007-01-30  Richard Guenther  <rguenther@suse.de>

PR middle-end/27657
* dwarf2out.c (reference_to_unused): Query varpool if the
variable was output.

* g++.dg/debug/pr27657.C: New testcase.

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