This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona
- From: "lloyd at randombit dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2007 22:11:07 -0000
- Subject: [Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona
- References: <bug-31966-6477@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from lloyd at randombit dot net 2007-06-30 22:11 -------
The behavior still exists in the 4.3 20070622 snapshot. It does not occur using
-march=core2 (the actual CPU in question). The bad value results when using
-ftree-vectorize and -march or -mtune =nocona. -O, -O2, or -O3 is also
required; a binary compiled with -Os produces the correct value.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31966