https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92876
Bug ID: 92876 Summary: ICE in expand_UNIQUE, at internal-fn.c:2599 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Affects versions down to gfortran-6 at -O1+ : (presumably related to pr89499) $ cat z1.f90 program p call s contains subroutine s !$acc routine vector !$acc loop vector do i = 1, 8 end do end end $ gfortran-10-20191208 -c z1.f90 -fopenacc -Og $ $ gfortran-10-20191208 -c z1.f90 -fopenacc -O2 during RTL pass: expand z1.f90:6:0: 6 | !$acc loop vector | internal compiler error: in expand_UNIQUE, at internal-fn.c:2599 0x97011f expand_UNIQUE ../../gcc/internal-fn.c:2599 0x79c6e7 expand_call_stmt ../../gcc/cfgexpand.c:2639 0x79c6e7 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3709 0x79c6e7 expand_gimple_stmt ../../gcc/cfgexpand.c:3874 0x7a1827 expand_gimple_basic_block ../../gcc/cfgexpand.c:5914 0x7a3e76 execute ../../gcc/cfgexpand.c:6569