This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49723] gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine.c:707 at -O1 and above
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Jul 2011 10:49:18 +0000
- Subject: [Bug middle-end/49723] gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine.c:707 at -O1 and above
- Auto-submitted: auto-generated
- References: <bug-49723-4@http.gcc.gnu.org/bugzilla/>
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.