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

            Bug ID: 96163
           Summary: another ice in pass slp
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 48862
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48862&action=edit
C++ source code

For the attached C++ source code with flag -O3, recent gcc trunk does this:

/home/dcb/gcc/results.20200630/bin/g++
/home/dcb/gcc/results.20200701/bin/g++
bug630.cc: In function ‘void cm()’:
bug630.cc:139:6: error: definition in block 2 follows the use
  139 | void cm() {
      |      ^~
for SSA_NAME: vect_cst__16 in statement:
vect__2.37_17 = _14 / vect_cst__16;
during GIMPLE pass: slp
bug630.cc:139:6: internal compiler error: verify_ssa failed
0x13fb41b verify_ssa(bool, bool)
        ../../trunk.git/gcc/tree-ssa.c:1208
0x108dbf5 execute_function_todo
        ../../trunk.git/gcc/passes.c:1992

Trunk dated 20200630 is fine, 20200701 not.

Reply via email to