This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/56143] Incorrect code generation with -O0 in x86_64
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Jan 2013 02:06:04 +0000
- Subject: [Bug c/56143] Incorrect code generation with -O0 in x86_64
- Auto-submitted: auto-generated
- References: <bug-56143-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56143
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-30 02:06:04 UTC ---
*_jit->pc.ui++ = i0 - (_jit->pc.w + 4);
You have a sequence point issue. This is like doing:
*i++ = i0 - (i + 4);