[Bug fortran/106730] New: [OpenMP] ICE in install_var_field, at omp-low.cc:797

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 24 06:45:06 GMT 2022


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

            Bug ID: 106730
           Summary: [OpenMP] ICE in install_var_field, at omp-low.cc:797
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, openmp
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53499
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53499&action=edit
Slightly modified and de-module-used testcase; run as 'gfortran -fopenmp
test.f90'

Found via
https://github.com/SOLLVE/sollve_vv/blob/master/tests/5.0/target/test_target_mapping_before_alloc.F90

Testcase fails since at least GCC 9.

$ gfortran -fopenmp test.f90     
during GIMPLE pass: omplower
test.f90:25:41:

   25 |   !$omp& test_struct) map(tofrom: errors)
      |                                         ^
internal compiler error: in install_var_field, at omp-low.cc:797
0x742f21 install_var_field
        ../../repos/gcc-trunk-commit/gcc/omp-low.cc:797
0xe24f0c scan_sharing_clauses
        ../../repos/gcc-trunk-commit/gcc/omp-low.cc:1672
0xe26877 scan_omp_target
        ../../repos/gcc-trunk-commit/gcc/omp-low.cc:3100


More information about the Gcc-bugs mailing list