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:08:17 -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 #6 from joseph at codesourcery dot com 2009-09-20 21:08 -------
Subject: Re: [4.5 Regression] ICE: tree check: expected
integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:5259
There is no backtrace in this bug or any statement of the point in such a
backtrace at which you think an invalid argument has been passed to a
function that should not have been passed there. C_MAYBE_CONST_EXPRs are
created at various stages in the front end and are lowered by
c_fully_fold, so none should exist by gimplification. If the
C_MAYBE_CONST_EXPR is being seen during gimplification, that's a front end
bug. Otherwise, non-front-end code dealing with trees needs to accept
them just like any other front-end-specific trees.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41182