https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93268
Bug ID: 93268 Summary: ICE with gcc-10 when compiling hypre library with -O3 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: kristopher.kuhlman at gmail dot com Target Milestone: --- I am building petsc, and the hypre library being built as part of that triggers this ICE when using optimization. When building the same library with -Og there is no ICE. This library didn't trigger this ICE with a gcc version from a month or two ago, so this is maybe due to a recent change? I created a pre-processed version of the relevant source file, but it is enormous (12k lines). I can attach it if desired. Kris -- /home/klkuhlm/src/petsc/tgcc-c-perf/bin/mpicc -fstack-protector -O3 -march=native -DHAVE_CONFIG_H -I.. -I. -I./.. -I./../blas -I./../lapack -I./../utilities -I./../seq_mv -I/home/klkuhlm/src/petsc/tgcc-c-perf/include -c par_csr_matop_marked.c ../config/Makefile.config:49: recipe for target 'par_csr_matop.o' failed make[1]: Leaving directory '/home/klkuhlm/src/petsc/tgcc-c-perf/externalpackages/hypre-2.15.1/src/parcsr_mv' Makefile:90: recipe for target 'all' failedduring GIMPLE pass: vect par_csr_matop.c: In function ‘hypre_ParCSRMatrixExtractBExt_Arrays_Overlap’: par_csr_matop.c:1063:6: internal compiler error: in get_load_store_type, at tree-vect-stmts.c:2462 1063 | void hypre_ParCSRMatrixExtractBExt_Arrays_Overlap( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x6f7de9 get_load_store_type ../../gcc-trunk/gcc/tree-vect-stmts.c:2462 0xfb254b vectorizable_load ../../gcc-trunk/gcc/tree-vect-stmts.c:8708 0xfc8f0e vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) ../../gcc-trunk/gcc/tree-vect-stmts.c:10989 0xfcac1e vect_transform_loop_stmt ../../gcc-trunk/gcc/tree-vect-loop.c:8299 0xfe1c6c vect_transform_loop(_loop_vec_info*) ../../gcc-trunk/gcc/tree-vect-loop.c:8690 0xffd6f9 try_vectorize_loop_1 ../../gcc-trunk/gcc/tree-vectorizer.c:989 0xffd8f7 try_vectorize_loop_1 ../../gcc-trunk/gcc/tree-vectorizer.c:1026 0xffe3f9 vectorize_loops() ../../gcc-trunk/gcc/tree-vectorizer.c:1125 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. make[1]: *** [par_csr_matop.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 1