[Bug tree-optimization/98191] New: [11 Regression] ICE tree check: expected ssa_name, have vector_cst in has_single_use, at ssa-iterators.h:400 since r11-5821-gebdfd1606da6b5aa

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 8 08:47:17 GMT 2020


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

            Bug ID: 98191
           Summary: [11 Regression] ICE tree check: expected ssa_name,
                    have vector_cst in has_single_use, at
                    ssa-iterators.h:400 since r11-5821-gebdfd1606da6b5aa
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr78526.c -Os
-ftree-slp-vectorize -mavx512bitalg -c
during GIMPLE pass: slp
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr78526.c: In function ‘foo’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr78526.c:18:1: internal
compiler error: tree check: expected ssa_name, have vector_cst in
has_single_use, at ssa-iterators.h:400
   18 | foo (U u)
      | ^~~
0x747ed3 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        /home/marxin/Programming/gcc/gcc/tree.c:9810
0x744b7b tree_check(tree_node const*, char const*, int, char const*, tree_code)
        /home/marxin/Programming/gcc/gcc/tree.h:3591
0x744b7b has_single_use
        /home/marxin/Programming/gcc/gcc/ssa-iterators.h:400
0x744b7b vect_slp_check_for_constructors
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4244
0x744b7b vect_slp_analyze_bb_1
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4360
0x744b7b vect_slp_region
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4497
0x744b7b vect_slp_bbs
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4645
0x108c764 vect_slp_function(function*)
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:4731
0x108e432 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.


More information about the Gcc-bugs mailing list