This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81516] Wrong code with -m32 -O2 on x86_64-linux-gnu
- From: "mednafen at sent dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jul 2017 20:08:58 +0000
- Subject: [Bug target/81516] Wrong code with -m32 -O2 on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-81516-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81516
--- Comment #5 from mednafen at sent dot com ---
Generated assembly looks like it's grabbing garbage off the stack and writing
it to b:
a:
subl $20, %esp
fildl 24(%esp)
movsd (%esp), %xmm1
movsd %xmm1, b
[...]