[Bug c/41182] [4.5 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:5259

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Sep 20 21:24:00 GMT 2009



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



More information about the Gcc-bugs mailing list