public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102459] New: [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3549
@ 2021-09-22 17:44 gscfq@t-online.de
  2021-09-22 18:23 ` [Bug fortran/102459] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2021-09-22 17:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102459
           Summary: [12 Regression] ICE in gfc_conv_scalarized_array_ref,
                    at fortran/trans-array.c:3549
           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: ---

Started between 20210523 and 20210530, with an array a :


$ cat z1.f90
program p
   type t
      integer :: a(2)
   end type
   type(t) :: x(8)
   !$omp task depend (iterator(j=1:8), out:x(j)%a)
   !$omp end task
end


$ gfortran-12-20210919 -c z1.f90 -fopenmp
z1.f90:6:50:

    6 |    !$omp task depend (iterator(j=1:8), out:x(j)%a)
      |                                                  1
internal compiler error: Segmentation fault
0xe2831f crash_signal
        ../../gcc/toplev.c:328
0x7d88a6 gfc_conv_scalarized_array_ref
        ../../gcc/fortran/trans-array.c:3549
0x7d95c4 gfc_conv_array_ref(gfc_se*, gfc_array_ref*, gfc_expr*, locus*)
        ../../gcc/fortran/trans-array.c:3700
0x81b5ce gfc_conv_variable
        ../../gcc/fortran/trans-expr.c:3093
0x81623a gfc_conv_expr(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-expr.c:9041
0x820212 gfc_conv_expr_reference(gfc_se*, gfc_expr*, bool)
        ../../gcc/fortran/trans-expr.c:9141
0x85e1e4 gfc_trans_omp_clauses
        ../../gcc/fortran/trans-openmp.c:2864
0x867ae8 gfc_trans_omp_task
        ../../gcc/fortran/trans-openmp.c:6380
0x867ae8 gfc_trans_omp_directive(gfc_code*)
        ../../gcc/fortran/trans-openmp.c:7206
0x7d1857 trans_code
        ../../gcc/fortran/trans.c:2212
0x804a75 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6919
0x77be66 translate_all_program_units
        ../../gcc/fortran/parse.c:6572
0x77be66 gfc_parse_file()
        ../../gcc/fortran/parse.c:6841
0x7c90df gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

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

end of thread, other threads:[~2023-05-08 12:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 17:44 [Bug fortran/102459] New: [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3549 gscfq@t-online.de
2021-09-22 18:23 ` [Bug fortran/102459] " pinskia at gcc dot gnu.org
2021-09-27 13:54 ` [Bug fortran/102459] [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3549 since r12-1108-g9a5de4d5af1c10a8 marxin at gcc dot gnu.org
2022-01-20  9:53 ` rguenth at gcc dot gnu.org
2022-05-06  8:31 ` [Bug fortran/102459] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:22 ` [Bug fortran/102459] [12/13/14 " rguenth 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).