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

            Bug ID: 101423
           Summary: [12 Regression] ICE in vect_schedule_slp_node, at
                    tree-vect-slp.c:7113 since r12-1951-ga3aaba68405751ba
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          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
            Blocks: 26163
  Target Milestone: ---

Created attachment 51133
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51133&action=edit
Fortran test-case

Happens only with PGO:

$ gfortran -shared  -ISPOOLES -Ofast -march=znver1 -g -flto=auto -std=legacy
umat_aniso_plas.f -fprofile-use -c && gcc umat_aniso_plas.o -shared
f951: Warning: Nonexistent include directory 'SPOOLES' [-Wmissing-include-dirs]
umat_aniso_plas.f:99:13:

   99 |      &     +beta(6)
      |             1
Warning: Extension: Unary operator following arithmetic operator (use
parentheses) at (1)
umat_aniso_plas.f:215:19:

  215 |      &           +beta(6)
      |                   1
Warning: Extension: Unary operator following arithmetic operator (use
parentheses) at (1)
during GIMPLE pass: slp
umat_aniso_plas.f: In function 'umat_aniso_plas':
umat_aniso_plas.f:19:32: internal compiler error: in vect_schedule_slp_node, at
tree-vect-slp.c:7115
   19 |       subroutine umat_aniso_plas(amat,iel,iint,kode,elconloc,eloc,
      |                                ^
0x743003 vect_schedule_slp_node
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:7115
0x10342f3 vect_schedule_scc
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:7342
0x1034071 vect_schedule_scc
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:7323
0x103493c vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap, vl_ptr>)
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:7459
0x10362e8 vect_slp_region
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:5822
0x1036f78 vect_slp_bbs
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:5932
0x1037384 vect_slp_function(function*)
        /home/marxin/Programming/gcc/gcc/tree-vect-slp.c:6018
0x103e26a execute
        /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1445
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: *** [/tmp/ccmyk9YH.mk:2: /tmp/cchwfZCC.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
[Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

Reply via email to