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 c/41182] [4.5 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:5259



------- 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


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