OSDN Git Service

PR debug/49032
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 May 2011 18:12:34 +0000 (18:12 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 May 2011 18:12:34 +0000 (18:12 +0000)
commit62593aed2e6b228ae5b85fb9721b45cc92cce894
tree51c5ff8dc03dd2de03e9f08270c60cfae758f713
parent6a3b64a24d74b084b77e5f0bbff64b0ea7b70159
PR debug/49032
* dbxout.c: Include cgraph.h.
(dbxout_expand_expr): If a VAR_DECL is TREE_STATIC, not written
and without value expr, return NULL if no varpool node exists for
it or if it is not needed.
* Makefile.in (dbxout.o): Depend on $(CGRAPH_H).

* gcc.dg/debug/pr49032.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174084 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/dbxout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/pr49032.c [new file with mode: 0644]