https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71505
Bug ID: 71505 Summary: -O3 internal compiler error in vect_analyze_data_ref_accesses, at tree-vect-data-refs.c:2596 Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tony at kelman dot net Target Milestone: --- Created attachment 38687 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38687&action=edit cholmod_updown.i This is in Alpine Linux - I can provide a Docker container and/or the pre-reduced test case if it would help. Works at -O2, errors at -O3. gcc -v -O3 -c cholmod_updown.i Using built-in specs. COLLECT_GCC=gcc Target: x86_64-alpine-linux-musl Configured with: /home/buildozer/aports/main/gcc/src/gcc-5.3.0/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --target=x86_64-alpine-linux-musl --with-pkgversion='Alpine 5.3.0' --enable-checking=release --disable-fixed-point --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror --disable-symvers --enable-__cxa_atexit --enable-esp --enable-cloog-backend --enable-languages=c,c++,objc,java,fortran,ada --disable-libssp --disable-libmudflap --disable-libsanitizer --enable-shared --enable-threads --enable-tls --with-system-zlib Thread model: posix gcc version 5.3.0 (Alpine 5.3.0) COLLECT_GCC_OPTIONS='-v' '-O3' '-c' '-mtune=generic' '-march=x86-64' '-fPIE' '-pie' '-fstack-protector-strong' /usr/libexec/gcc/x86_64-alpine-linux-musl/5.3.0/cc1 -fpreprocessed cholmod_updown.i -fno-strict-overflow -quiet -dumpbase cholmod_updown.i -mtune=generic -march=x86-64 -auxbase cholmod_updown -O3 -version -fPIE -fstack-protector-strong -o /tmp/cchiEaiB.s GNU C11 (Alpine 5.3.0) version 5.3.0 (x86_64-alpine-linux-musl) compiled by GNU C version 5.3.0, GMP version 6.1.0, MPFR version 3.1.2, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C11 (Alpine 5.3.0) version 5.3.0 (x86_64-alpine-linux-musl) compiled by GNU C version 5.3.0, GMP version 6.1.0, MPFR version 3.1.2, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a4d39a24f4e8cf2c8d4e626e52fac5ce cholmod_updown.i: In function 'fn1': cholmod_updown.i:4:6: internal compiler error: in vect_analyze_data_ref_accesses, at tree-vect-data-refs.c:2596 void fn1() { ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.