This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Feb 2012 21:39:23 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-52139-4@http.gcc.gnu.org/bugzilla/>
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