https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66280
Bug ID: 66280 Summary: internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1322 Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ketan.surender at gmail dot com Target Milestone: --- Created attachment 35622 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35622&action=edit preprocessed reproduction file Hitting an internal compilation error for the attached repro.i file. g++ -c -std=c++98 -pedantic -Wno-long-long -fwrapv -fPIC -O3 -fno-loop-optimize repro.i dtodoublessingleststscript4.cpp: In function ‘void dtodoublessingleststscript4(short int, const cint16_T*, short int*, cint16_T*, int*, cint32_T*, cint32_T*, int*, cint32_T*, cint16_T*, cint32_T*, int*, int*, cint32_T*, cint32_T*, int*, cint32_T*, int*, int*, cint32_T*, cint32_T*, cint16_T*, short int*, short int*, short int*, short int*)’: dtodoublessingleststscript4.cpp:102:6: internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1322 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. I am seeing this on a Debian 7 machine. g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/SNIP/glnxa64/gcc-4.7.2/libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /SNIP/gcc-4.7/configure --prefix=/SNIP/glnxa64/gcc-4.7.2 --with-gmp=/SNIP/glnxa64/gcc-4.7/gmp --with-mpfr=/SNIP/glnxa64/gcc-4.7/mpfr --with-mpc=/SNIP/glnxa64/gcc-4.7/mpc --enable-languages=c,c++,fortran --with-as=/SNIP/glnxa64/gcc-4.7.2/bin/as --with-ld=/SNIP/glnxa64/gcc-4.7.2/bin/ld Thread model: posix gcc version 4.7.2 (GCC)