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

            Bug ID: 72715
           Summary: ICE in gfc_trans_omp_do, at
                    fortran/trans-openmp.c:3164
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

With this combination :


$ cat z1.f90
program p
  integer :: i
  !$acc loop
  do concurrent (i=1:3)
  end do
end


$ gfortran-7-20160724 -fopenacc z1.f90
z1.f90:3:0:

   !$acc loop

internal compiler error: in gfc_trans_omp_do, at fortran/trans-openmp.c:3164
0x793732 gfc_trans_omp_do
        ../../gcc/fortran/trans-openmp.c:3164
0x793b6c gfc_trans_oacc_directive(gfc_code*)
        ../../gcc/fortran/trans-openmp.c:4460
0x71cdd7 trans_code
        ../../gcc/fortran/trans.c:1950
0x74bc08 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6207
0x6d7620 translate_all_program_units
        ../../gcc/fortran/parse.c:5916
0x6d7620 gfc_parse_file()
        ../../gcc/fortran/parse.c:6122
0x719b82 gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:198

Reply via email to