OSDN Git Service

PR debug/48159
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2011 13:07:54 +0000 (13:07 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2011 13:07:54 +0000 (13:07 +0000)
commit36c5622ac8aca9636fb541d3689b9dd3ca9e0c27
tree616b8ab05958bb97ef5138678668e37fa45be1b2
parentc58e945d1146bbe7778e5acc3d6079581cbcdc4b
PR debug/48159
* tree-ssa.c (reset_debug_uses): New function.
* tree-flow.h (reset_debug_uses): New prototype.
* tree-data-ref.c (stmts_from_loop): Ignore debug stmts.
* tree-loop-distribution.c (generate_loops_for_partition): Call
reset_debug_uses on the stmts that will be removed.  Keep around
all debug stmts, don't count them as bits in partition bitmap.
(generate_builtin): Don't count debug stmts or labels as bits in
partition bitmap.

* gcc.dg/pr48159-1.c: New test.
* gcc.dg/pr48159-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@173657 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr48159-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr48159-2.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-flow.h
gcc/tree-loop-distribution.c
gcc/tree-ssa.c