https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68145
Bug ID: 68145 Summary: [6 Regression] ICE: in vectorizable_store, at tree-vect-stmts.c:5684 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jtaylor.debian at googlemail dot com Target Milestone: --- Created attachment 36612 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36612&action=edit reduced testcase New ICE in current trunk, rev 229522. 5.x is fine. Reduced preprocessed testcase attached. $ g++-6.0 -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/scratch/jtaylor/gcc/local-trunk/libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /scratch/jtaylor/progs/gcc-trunk/configure --disable-werror --enable-languages=c,c++,fortran --enable-tls --prefix=/scratch/jtaylor/gcc/local-trunk --with-gmp=/usr --with-mpfr=/usr --with-mpc=/usr --with-cloog=/usr --with-ppl=/usr --with-isl=/usr --disable-bootstrap --enable-checking=release Thread model: posix gcc version 6.0.0 20151029 (experimental) (GCC) $ g++-6.0 ExprLogicNodeArray.ii -c -ftree-vectorize -O1 ExprLogicNodeArray.ii: In member function ‘B D::getArrayBool(const int&)’: ExprLogicNodeArray.ii:37:3: internal compiler error: in vectorizable_store, at tree-vect-stmts.c:5684 B D::getArrayBool(const int &) { lnode_p.getArrayBool() && c; } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.