This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41182] [4.5 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:5259
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2009 21:23:56 -0000
- Subject: [Bug c/41182] [4.5 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:5259
- References: <bug-41182-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from joseph at codesourcery dot com 2009-09-20 21:23 -------
Subject: Re: [4.5 Regression] ICE: tree check: expected
integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:5259
Where (backtrace) did the C_MAYBE_CONST_EXPR get created? Where
(backtrace) did the NOP_EXPR get created? The tree going inside a
C_MAYBE_CONST_EXPR should have been folded at the point the
C_MAYBE_CONST_EXPR was created, though that is meant to be an efficiency
issue (avoiding multiple folding of the same trees) rather than required
to avoid ICEs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41182