https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102330
Bug ID: 102330 Summary: [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Started between 20210530 and 20210606 : $ cat z1.f90 program p !$omp master taskloop simd do i = 1, 8 end do !$acc parallel loop do i = 1, 8 end do end $ gfortran-12-20210905 -c z1.f90 -fopenmp -fopenacc during RTL pass: expand z1.f90:5:21: 5 | !$acc parallel loop | ^ internal compiler error: in expand_gimple_stmt_1, at cfgexpand.c:3932 0x8dd6db expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3931 0x8dd6db expand_gimple_stmt ../../gcc/cfgexpand.c:4040 0x8e2bd7 expand_gimple_basic_block ../../gcc/cfgexpand.c:6082 0x8e553e execute ../../gcc/cfgexpand.c:6808 --- z1.f90:8:3: 8 | end | ^ Error: non-register as LHS of binary operation # .MEM_25 = VDEF <.MEM_3> i = 1 + .offset.9_2; z1.f90:8:3: Error: non-register as LHS of binary operation # .MEM_28 = VDEF <.MEM_4> i = 1 + 8; during GIMPLE pass: ssa z1.f90:8:3: internal compiler error: verify_gimple failed 0xf05dd4 verify_gimple_in_cfg(function*, bool) ../../gcc/tree-cfg.c:5531 0xdb304e execute_function_todo ../../gcc/passes.c:2042 0xdb3ef2 execute_todo ../../gcc/passes.c:2096