https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92228
Bug ID: 92228 Summary: ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io Target Milestone: --- Created attachment 47115 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47115&action=edit preprocessed source gcc is version 10 and commit e1ad18eeeed892a13ce7a39d088c01ed7f32f7ba COLLECT_GCC_OPTIONS='-D' 'ZEND_ENABLE_STATIC_TSRMLS_CACHE=1' '-I' 'ext/opcache/' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/' '-D' 'PHP_ATOM_INC' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/include' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/main' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/date/lib' '-I' '/usr/include/libxml2' '-I' '/usr/include/freetype2' '-I' '/usr/include/harfbuzz' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/mbstring/libmbfl' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl' '-I' '/usr/include/pspell' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/zip/lib' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/TSRM' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/Zend' '-D' '_REENTRANT' '-pthread' '-I' '/usr/include' '-pipe' '-march=skylake' '-O3' '-g' '-v' '-save-temps' '-fuse-ld=bfd' '-fvisibility=hidden' '-pthread' '-D' 'ZTS' '-D' 'ZEND_SIGNALS' '-c' /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre9999/cc1 -fpreprocessed dfa_pass.i -quiet -dumpbase dfa_pass.c -march=skylake -auxbase dfa_pass -g -O3 -version -fuse-ld=bfd -fvisibility=hidden -o dfa_pass.s GNU C17 (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191025 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191025 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C17 (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191025 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191025 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 214bc0594d89b21e03201165e89f3352 during GIMPLE pass: vect /var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/Optimizer/dfa_pass.c: In function ‘zend_ssa_unlink_block.part.0’: /var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/Optimizer/dfa_pass.c:654:13: internal compiler error: in vectorizable_reduction, at tree-vect-loop.c:5730 654 | static void zend_ssa_unlink_block(zend_op_array *op_array, zend_ssa *ssa, zend_basic_block *block, int block_num) | ^~~~~~~~~~~~~~~~~~~~~ 0x92e9e4 vectorizable_reduction(_stmt_vec_info*, _slp_tree*, _slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-vect-loop.c:5730 0x138f144 vect_analyze_loop_operations /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-vect-loop.c:1560 0x138f144 vect_analyze_loop_2 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-vect-loop.c:2079 0x138f144 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-vect-loop.c:2367 0x139cc5e try_vectorize_loop_1 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-vectorizer.c:886 0x139c824 vectorize_loops() /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-vectorizer.c:1114 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions.