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: "davmac at davmac dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jul 2017 20:05:37 +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 #4 from Davin McCall <davmac at davmac dot org> ---
(In reply to Andrew Pinski from comment #3)
> Most likely a dup of bug 323.
I don't think so, unless I'm misunderstanding something. There's no rounding in
the test case, just a store of an int value to a double variable, and
furthermore the result is _completely_ wrong, not just off by a bit.