------- Comment #4 from ebotcazou at gcc dot gnu dot org 2010-03-26 10:54 ------- > There is a mismatch in a guard expression. Following patch fixes ICE for me > (I'm not sure if it makes any sense, though):
No, it isn't correct, because: /* Return 1 if T is an INTEGER_CST that can be manipulated efficiently on the host. If POS is zero, the value can be represented in a single HOST_WIDE_INT. If POS is nonzero, the value must be non-negative and can be represented in a single unsigned HOST_WIDE_INT. */ int host_integerp (const_tree t, int pos) If you pass 1 to host_integerp/tree_low_cst, you must use unsigned HWI. -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43528