public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/101535] New: ICE in lookup_decl, at omp-low.c:412
@ 2021-07-20 16:59 gscfq@t-online.de
  2021-07-20 17:05 ` [Bug fortran/101535] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-07-20 16:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101535
           Summary: ICE in lookup_decl, at omp-low.c:412
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least r5 :


$ cat z1.f90
program p
   !$omp target data map(to:a)
   !$omp do lastprivate(i)
   do i = 1, 2
   end do
   !$omp end target data
end


$ gfortran-12-20210718 -c z1.f90 -fopenmp
during GIMPLE pass: omplower
z1.f90:3:26:

    3 |    !$omp do lastprivate(i)
      |                          ^
internal compiler error: Segmentation fault
0xc9a8df crash_signal
        ../../gcc/toplev.c:328
0xb71c1c lookup_decl
        ../../gcc/omp-low.c:412
0xb71c1c build_outer_var_ref
        ../../gcc/omp-low.c:729
0xb8049b lower_rec_input_clauses
        ../../gcc/omp-low.c:5722
0xb8a5da lower_omp_for
        ../../gcc/omp-low.c:11423
0xb78071 lower_omp_1
        ../../gcc/omp-low.c:13853
0xb78071 lower_omp
        ../../gcc/omp-low.c:14040
0xb7897d lower_omp_1
        ../../gcc/omp-low.c:13837
0xb7897d lower_omp
        ../../gcc/omp-low.c:14040
0xb78108 lower_omp_1
        ../../gcc/omp-low.c:13824
0xb78108 lower_omp
        ../../gcc/omp-low.c:14040
0xb7c713 lower_omp_target
        ../../gcc/omp-low.c:12600
0xb7c713 lower_omp_1
        ../../gcc/omp-low.c:13902
0xb7c713 lower_omp
        ../../gcc/omp-low.c:14040
0xb78108 lower_omp_1
        ../../gcc/omp-low.c:13824
0xb78108 lower_omp
        ../../gcc/omp-low.c:14040
0xb7897d lower_omp_1
        ../../gcc/omp-low.c:13837
0xb7897d lower_omp
        ../../gcc/omp-low.c:14040
0xb7f911 execute_lower_omp
        ../../gcc/omp-low.c:14079
0xb7f911 execute
        ../../gcc/omp-low.c:14127

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-05-11  6:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 16:59 [Bug fortran/101535] New: ICE in lookup_decl, at omp-low.c:412 gscfq@t-online.de
2021-07-20 17:05 ` [Bug fortran/101535] " jakub at gcc dot gnu.org
2021-07-21  7:50 ` [Bug middle-end/101535] " cvs-commit at gcc dot gnu.org
2021-07-21  8:22 ` cvs-commit at gcc dot gnu.org
2021-07-21  8:28 ` jakub at gcc dot gnu.org
2022-05-10  8:20 ` cvs-commit at gcc dot gnu.org
2022-05-11  6:21 ` cvs-commit at gcc dot gnu.org
2022-05-11  6:36 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).