https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98191

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Or a non-avx512 option:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr90424-2.C
-ftree-slp-vectorize -O2 -c
during GIMPLE pass: slp
/home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr90424-2.C: In
function ‘V<T> load(const void*) [with T = long int; unsigned int M = 8]’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr90424-2.C:8:6:
internal compiler error: tree check: expected ssa_name, have vector_cst in
has_single_use, at ssa-iterators.h:400
    8 | V<T> load(const void *p) {
      |      ^~~~
0x8119ff tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        /home/marxin/Programming/gcc/gcc/tree.c:9810
0x80e6a7 tree_check(tree_node const*, char const*, int, char const*, tree_code)
        /home/marxin/Programming/gcc/gcc/tree.h:3591
0x80e6a7 has_single_use
        /home/marxin/Programming/gcc/gcc/ssa-iterators.h:400
0x80e6a7 vect_slp_check_for_constructors
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4244
0x80e6a7 vect_slp_analyze_bb_1
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4360
0x80e6a7 vect_slp_region
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4497
0x80e6a7 vect_slp_bbs
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4645
0x12f3a64 vect_slp_function(function*)
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4731
0x12f5732 execute
        /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1436
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.

Reply via email to