PR middle-end/40340
commitf63d3ecc34e8b969b3c940f14e725815c1ef3215
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 2009 15:35:13 +0000 (5 15:35 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 2009 15:35:13 +0000 (5 15:35 +0000)
tree12a9da39bc6bfc83111af358d8b58d60dbbd2f22
parent454f25be4550106b133980287ac7da30d2767f92
PR middle-end/40340
* tree-ssa-live.c (remove_unused_scope_block_p): Don't prune
inlined_function_outer_scope_p blocks for artificial inlines
even at -g0/-g1.
* tree.c (tree_nonartificial_location): Rewrite using
block_nonartificial_location.

* gcc.dg/pr40340-1.c: New test.
* gcc.dg/pr40340-2.c: New test.
* gcc.dg/pr40340-3.c: New test.
* gcc.dg/pr40340-4.c: New test.
* gcc.dg/pr40340-5.c: New test.
* gcc.dg/pr40340.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148212 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/gcc.dg/pr40340-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr40340-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr40340-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr40340-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr40340-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr40340.h [new file with mode: 0644]
gcc/tree-ssa-live.c
gcc/tree.c