public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102596] New: [11/12 Regression] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:713
@ 2021-10-04 18:42 gscfq@t-online.de
  2021-10-04 20:58 ` [Bug fortran/102596] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2021-10-04 18:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102596
           Summary: [11/12 Regression] ICE in gfc_omp_clause_default_ctor,
                    at fortran/trans-openmp.c:713
           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: ---

Changed between 20201108 and 20201115 :
(ICEs with an allocatable)


$ cat z1.f90
program p
   integer, allocatable :: r
   r = 0
   !$omp target parallel reduction(task, +:r)
   r = r + 1
   !$omp end target parallel
end


$ gfortran-12-20211003 -c z1.f90 -fopenmp
during GIMPLE pass: omplower
z1.f90:5:12:

    5 |    r = r + 1
      |            ^
internal compiler error: in gfc_omp_clause_default_ctor, at
fortran/trans-openmp.c:713
0x8af41b gfc_omp_clause_default_ctor(tree_node*, tree_node*, tree_node*)
        ../../gcc/fortran/trans-openmp.c:713
0xc1fc2e lower_rec_input_clauses
        ../../gcc/omp-low.c:6460
0xc239a6 lower_omp_taskreg
        ../../gcc/omp-low.c:12407
0xc14f21 lower_omp_1
        ../../gcc/omp-low.c:14086
0xc14f21 lower_omp
        ../../gcc/omp-low.c:14287
0xc18a44 lower_omp_target
        ../../gcc/omp-low.c:12834
0xc18a44 lower_omp_1
        ../../gcc/omp-low.c:14148
0xc18a44 lower_omp
        ../../gcc/omp-low.c:14287
0xc152e8 lower_omp_1
        ../../gcc/omp-low.c:14064
0xc152e8 lower_omp
        ../../gcc/omp-low.c:14287
0xc153bd lower_omp_1
        ../../gcc/omp-low.c:14077
0xc153bd lower_omp
        ../../gcc/omp-low.c:14287
0xc1c511 execute_lower_omp
        ../../gcc/omp-low.c:14326
0xc1c511 execute
        ../../gcc/omp-low.c:14374

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

end of thread, other threads:[~2023-05-29 10:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 18:42 [Bug fortran/102596] New: [11/12 Regression] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:713 gscfq@t-online.de
2021-10-04 20:58 ` [Bug fortran/102596] " pinskia at gcc dot gnu.org
2021-10-11  8:19 ` [Bug fortran/102596] [11/12 Regression] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:713 since r11-4883-ge929ef532ad52cde marxin at gcc dot gnu.org
2022-01-20  9:24 ` rguenth at gcc dot gnu.org
2022-02-07 14:55 ` burnus at gcc dot gnu.org
2022-04-21  7:50 ` rguenth at gcc dot gnu.org
2023-05-29 10:05 ` [Bug fortran/102596] [11/12/13/14 " 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).