https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68956
Bug ID: 68956 Summary: [6 regression] Vectorizer miscompilation of 416.gamess Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ienkovich at gcc dot gnu.org Target Milestone: --- Created attachment 37061 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37061&action=edit Reproducer Here is a test reduced from 416.gamess which fails when vectorizer is enabled. >gfortran -ffast-math -mfpmath=sse -O2 -march=core-avx2 -m32 test.f -o test >./test >gfortran -ffast-math -mfpmath=sse -O2 -march=core-avx2 -m32 test.f >-ftree-vectorize -o test >./test Program aborted. Backtrace: #0 0xF76B4E63 #1 0xF76B6820 #2 0xF777AB78 #3 0x80489A7 in MAIN__ at test.f:? Aborted (core dumped) Used compiler: Target: x86_64-pc-linux-gnu Configured with: /export/users/gnutester/stability/svn/trunk/configure --with-arch=corei7 --with-cpu=corei7 --enable-clocale=gnu --with-system-zlib --enable-shared --with-demangler-in-ld --enable-cloog-backend=isl --with-fpmath=sse --with-pkgversion=Revision=231720 --prefix=/export/users/gnutester/stability/work/trunk/64/install --enable-languages=c,c++,fortran,java,lto Thread model: posix gcc version 6.0.0 20151216 (experimental) (Revision=231720)