This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36775] Incorrect code generated - value tested before it is set.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2008 21:04:19 -0000
- Subject: [Bug middle-end/36775] Incorrect code generated - value tested before it is set.
- References: <bug-36775-16442@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-07-09 21:04 -------
This looks like an aliasing violation. What happens if you compile with -O2
-fno-strict-aliasing ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36775