http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48159

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-11 
13:07:59 UTC ---
Author: jakub
Date: Wed May 11 13:07:54 2011
New Revision: 173657

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173657
Log:
    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.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48159-1.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48159-2.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/tree-data-ref.c
    branches/gcc-4_6-branch/gcc/tree-flow.h
    branches/gcc-4_6-branch/gcc/tree-loop-distribution.c
    branches/gcc-4_6-branch/gcc/tree-ssa.c

Reply via email to