This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18478] [4.0 Regression] ICE with -funroll-loops
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2004 15:47:35 -0000
- Subject: [Bug tree-optimization/18478] [4.0 Regression] ICE with -funroll-loops
- References: <20041114150907.18478.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kazu at cs dot umass dot edu 2004-11-14 15:47 -------
I am doing a binary search right now, but it's probably Jeff's patch that
causes this bug.
With his patch, GCC shares some CASE_LABEL_EXPR within one SWITCH_EXPR.
When a basic block is copied, I don't think these shared CASE_LABEL_EXPR
are properly updated. Specifically, it's possible that one CASE_LABEL_EXPR
points to another CASE_LABEL_EXPR of another SWITCH_EXPR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18478