[Bug c/51357] Simple program crash when enabling AVX

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 30 16:34:00 GMT 2011


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-30 15:59:50 UTC ---
Doesn't crash for me on x86_64-linux. The testcase is buggy, because the x and
y heap arrays are uninitialized, could contain any values including signalling
NaNs etc.  Nothing is vectorized here (you are just compiling with -O2, not -O3
-ffast-math that would be needed for vectorization in this case).  I see
nothing wrong on the GCC side here, so either your OS doesn't support AVX, or
the assembler is buggy, ...



More information about the Gcc-bugs mailing list