[Bug middle-end/49723] gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine.c:707 at -O1 and above
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 13 10:35:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49723
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.13 10:34:54
Ever Confirmed|0 |1
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-13 10:34:54 UTC ---
Indeed, (const_int 2147483648 [0x80000000]) isn't valid for SImode, it should
be (const_int -2147483648 [0x80000000]) as RTL constants are always
sign-extended for their mode. Usually a GEN_INT used in lieu of gen_int_mode.
More information about the Gcc-bugs
mailing list