This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/77478] Incorrect code generated with -O3, m32, -msse2 and -ffast-math
- From: "amonakov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Sep 2016 18:43:53 +0000
- Subject: [Bug target/77478] Incorrect code generated with -O3, m32, -msse2 and -ffast-math
- Auto-submitted: auto-generated
- References: <bug-77478-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77478
--- Comment #6 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Thanks, seeing alignment info in dumps helps (I think you meant -vops rather
than -alias?).
This doesn't seem to reproduce on trunk. On gcc-5 branch, I see alignment
increasing in dom2 pass.
Specifically, the 147t.slsr dump prior to dom2 has:
<bb 23>:
...
vectp.10_4 = vectp.22_88;
...
# rhs access alignment 32+0
vect__22.11_163 = MEM[(float *)vectp.10_4];
and then 149.dom2 has:
<bb 23>:
...
vectp.10_4 = vectp.22_88;
...
# rhs access alignment 128+0
vect__22.11_163 = MEM[(float *)vectp.22_88];