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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 
17:30:51 UTC ---
Author: jakub
Date: Thu Feb  9 17:30:39 2012
New Revision: 184062

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184062
Log:
    Backported from mainline
    2012-02-08  Jakub Jelinek  <ja...@redhat.com>

    PR rtl-optimization/52139
    * cfgrtl.c (cfg_layout_merge_blocks): If BB_END
    is a BARRIER after emit_insn_after_noloc, move BB_END
    to the last non-BARRIER insn before it.

    * gcc.dg/pr52139.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr52139.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/cfgrtl.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

Reply via email to