[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:49:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49723

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-13 10:49:16 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.

Actually (const_int -2147483648 [0xFFFFFFFF80000000]) on a 64-bit host.



More information about the Gcc-bugs mailing list