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

            Bug ID: 106193
           Summary: ICE in lookup_sfield, at omp-low.cc:438
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Started with r11 between 20210110 and 20210117, with file
libgomp/testsuite/libgomp.fortran/task-detach-11.f90 and others :


$ gfortran-13-20220703 -c task-detach-11.f90 -fopenmp -fmax-stack-var-size=8
f951: Warning: Flag '-fmax-stack-var-size=8' overwrites '-frecursive' implied
by '-fopenmp'

$ gfortran-13-20220703 -c task-detach-11.f90 -fopenmp -fmax-stack-var-size=1
f951: Warning: Flag '-fmax-stack-var-size=1' overwrites '-frecursive' implied
by '-fopenmp'
during GIMPLE pass: omplower
task-detach-11.f90:11:41:

   11 |     call omp_fulfill_event (detach_event)
      |                                         ^
internal compiler error: Segmentation fault
0xcd9a4f crash_signal
        ../../gcc/toplev.cc:322
0xbac922 lookup_sfield
        ../../gcc/omp-low.cc:438
0xbac922 lookup_sfield
        ../../gcc/omp-low.cc:444
0xbac922 finish_taskreg_scan
        ../../gcc/omp-low.cc:2617
0xbac922 execute_lower_omp
        ../../gcc/omp-low.cc:14641
0xbac922 execute
        ../../gcc/omp-low.cc:14702

Reply via email to