This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/49942] Wrong code generated for -O2 with target s390 on Linux
- From: "jphartmann at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Aug 2011 10:18:31 +0000
- Subject: [Bug other/49942] Wrong code generated for -O2 with target s390 on Linux
- Auto-submitted: auto-generated
- References: <bug-49942-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49942
--- Comment #7 from jphartmann at gmail dot com <jphartmann at gmail dot com> 2011-08-02 10:18:28 UTC ---
The stripped-down test case gives this (expected) output on linux:
900000000 vs 400000000 is 1
400000000 vs 900000000 is -1
And this (faulty) output on VM:
900000000 vs 400000000 is 0
400000000 vs 900000000 is -1