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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #10 from Steven Bosscher <steven at gcc dot gnu.org> 2013-04-11 19:23:01 UTC ---
The fix is wrong, if there is a jump table at the end of basic block a,
and a ends in a tablejump, then the blocks cannot be merged.  In the case
of this PR, the jump table must be dead and someone left it lingering.
The bug is the presence of a dead jump table, and the patch only papers
over the issue.


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