[Bug c++/97636] New: error: missing ‘PHI’ def

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 29 22:47:34 GMT 2020


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

            Bug ID: 97636
           Summary: error: missing ‘PHI’ def
           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 49469
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49469&action=edit
C++ source code

For the attached C++ code, with compiler flag -O3, does this:

$ /home/dcb/gcc/results/bin/gcc -c -w -O3 bug664.cc
bug664.cc: In function ‘int main()’:
bug664.cc:77:1: error: missing ‘PHI’ def
   77 | main() {
      | ^~~~
vect_b_b_6.26_26 = PHI <(8), vect_b_b_19.25_25(7)>
during GIMPLE pass: slp
bug664.cc:77:1: internal compiler error: verify_gimple failed
0xf6b14f verify_gimple_in_cfg(function*, bool)
        ../../trunk.git/gcc/tree-cfg.c:5461
0xe4e78c execute_function_todo(function*, void*)
        ../../trunk.git/gcc/passes.c:1992

The bug first seems to appear sometime between 20201027
and 20201028


More information about the Gcc-bugs mailing list