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 08:38:39 +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 #3 from jphartmann at gmail dot com <jphartmann at gmail dot com> 2011-08-02 08:37:44 UTC ---
Adding a dummy assignment to a global value that the optimiser cannot figure to
be useless fixes the problem.