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: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2004 17:49:59 -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 giovannibajo at libero dot it 2004-11-14 17:49 -------
Well, if unshare_expr is invalid for SWITCH_EXPRs, I guess you should either do
your check within unshare_expr itself, or at least add a gcc_assert() to
unshare_expr so that we check that it is never called with a SWITCH_EXPR. I
would go for the former, so that the users don't have to do the same check
externally.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18478