OSDN Git Service

PR debug/39379
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Mar 2009 12:50:36 +0000 (12:50 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Mar 2009 12:50:36 +0000 (12:50 +0000)
commit227f485e12ac3b3289886cc11d0e1692b7a359ec
tree9965c4ee4fa295755fc70e7820216ddf00608b1c
parenta6ccab35ba91a0dec065545991e0d264b4597025
PR debug/39379
* tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
with blocks containing IMPORTED_DECLs in BLOCK_VARS.

* g++.dg/debug/dwarf2/imported-module-3.C: New test.
* g++.dg/debug/dwarf2/imported-module-4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144640 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/imported-module-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/debug/dwarf2/imported-module-4.C [new file with mode: 0644]
gcc/tree-cfg.c