This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/52139] [4.5 Regression] ICE: in remove_insn, at emit-rtl.c:3960 with -O -fPIC -fno-tree-dominator-opts -fno-tree-fre


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 21:39:23 UTC ---
Author: jakub
Date: Thu Feb  9 21:39:20 2012
New Revision: 184074

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184074
Log:
    Backported from mainline
    2012-02-08  Jakub Jelinek  <jakub@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_5-branch/gcc/testsuite/gcc.dg/pr52139.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/cfgrtl.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]