[Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona

dorit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 1 08:48:00 GMT 2007



------- Comment #3 from dorit at gcc dot gnu dot org  2007-07-01 08:47 -------
I was able to reproduce the behavior on a Pentinum4 with a recent 4.3 snapshot.
It doesn't look like it's the vectorizer's fault - nothing gets vectorized.
However, if I disable the tree-level if-conversion (which is automatically
enabled by -ftree-vectorize) - the result of '-ftree-vectorize -O2
-march=nocona divop.c -o divop' becomes '3CBA83'. 


-- 

dorit at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31966



More information about the Gcc-bugs mailing list