------- Comment #8 from jakub at gcc dot gnu dot org  2010-05-31 15:40 -------
Subject: Bug 44182

Author: jakub
Date: Mon May 31 15:40:32 2010
New Revision: 160075

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160075
Log:
        PR tree-optimization/44182
        * tree-inline.c (copy_edges_for_bb): Don't split bb if a stmt that
        newly needs to end a bb is followed by debug stmts, instead return
        true from the function at the end.
        (maybe_move_debug_stmts_to_successors): New function.
        (copy_cfg_body): Call it if copy_edges_for_bb returned true.

        * g++.dg/debug/pr44182.C: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/debug/pr44182.C
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-inline.c


-- 


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

Reply via email to