This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/57341] [4.8/4.9 Regression] wrong code on x86_64-linux at -O3 in 32-bit mode
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 May 2013 06:46:09 +0000
- Subject: [Bug target/57341] [4.8/4.9 Regression] wrong code on x86_64-linux at -O3 in 32-bit mode
- Auto-submitted: auto-generated
- References: <bug-57341-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57341
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-05-21
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |4.8.1
Summary|wrong code on x86_64-linux |[4.8/4.9 Regression] wrong
|at -O3 in 32-bit mode |code on x86_64-linux at -O3
| |in 32-bit mode
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r188667 . -m32 -O3 -msse is needed.
int a, d;
int *b = &a, **c;
int
main ()
{
int e;
{
int f[4];
for (d = 0; d < 4; d++)
f[d] = 1;
e = f[1];
}
int *g[28] = { };
*b = e;
c = &g[0];
if (a != 1)
__builtin_abort ();
return 0;
}