[Bug fortran/71704] New: ICE with -fopenmp and some omp constructs

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Jun 29 18:32:00 GMT 2016


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

            Bug ID: 71704
           Summary: ICE with -fopenmp and some omp constructs
           Product: gcc
           Version: 6.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

With some "empty" openmp constructs :


$ cat z1.f90
real function f()
!$omp barrier
end

$ gfortran-6 -fopenmp -c z1.f90
f951: internal compiler error: gfc_ascii_statement(): Bad statement code



$ cat z2.f90
real function f()
!$omp parallel
!$omp end parallel
end

$ gfortran-6 -fopenmp -c z2.f90
f951: internal compiler error: gfc_ascii_statement(): Bad statement code



$ cat z3.f90
real function f()
!$omp single
!$omp end single
end

$ gfortran-6 -fopenmp -c z3.f90
f951: internal compiler error: gfc_ascii_statement(): Bad statement code



$ cat z4.f90
real function f()
!$omp critical
!$omp end critical
end

$ gfortran-6 -fopenmp -c z4.f90
f951: internal compiler error: gfc_ascii_statement(): Bad statement code


etc.


More information about the Gcc-bugs mailing list