public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/104130] New: [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274
@ 2022-01-19 18:52 gscfq@t-online.de
  2022-01-20  7:56 ` [Bug fortran/104130] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gscfq@t-online.de @ 2022-01-19 18:52 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104130
           Summary: [12 Regression] ICE in gfc_add_class_array_ref, at
                    fortran/class.c:274
           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 20211017 and 20211024 :


$ cat z1.f90
program p
   class(*), pointer :: z(:,:)
   call s(transpose(z))
contains
   subroutine s(x) bind(c)
      integer, contiguous :: x(:,:)
   end
end


$ gfortran-12-20211017 -c z1.f90
$
$ gfortran-12-20220116 -c z1.f90
z1.f90:3:23:

    3 |    call s(transpose(z))
      |                       1
internal compiler error: Segmentation fault
0xcc359f crash_signal
        ../../gcc/toplev.c:322
0x6cc528 gfc_add_class_array_ref(gfc_expr*)
        ../../gcc/fortran/class.c:274
0x7f79bf gfc_conv_is_contiguous_expr(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-intrinsic.c:2864
0x7db247 gfc_conv_subref_array_arg(gfc_se*, gfc_expr*, int, sym_intent, bool,
gfc_symbol const*, char const*, gfc_symbol*, bool)
        ../../gcc/fortran/trans-expr.c:5244
0x7db611 gfc_conv_gfc_desc_to_cfi_desc
        ../../gcc/fortran/trans-expr.c:5553
0x7e09b2 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,
gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
        ../../gcc/fortran/trans-expr.c:6804
0x81d120 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
        ../../gcc/fortran/trans-stmt.c:422
0x7a55f8 trans_code
        ../../gcc/fortran/trans.c:1984
0x7ce56e gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:7651
0x7513ce translate_all_program_units
        ../../gcc/fortran/parse.c:6651
0x7513ce gfc_parse_file()
        ../../gcc/fortran/parse.c:6938
0x79e33f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

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

* [Bug fortran/104130] [12 Regression] ICE in gfc_add_class_array_ref,  at fortran/class.c:274
  2022-01-19 18:52 [Bug fortran/104130] New: [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 gscfq@t-online.de
@ 2022-01-20  7:56 ` rguenth at gcc dot gnu.org
  2022-01-20 10:17 ` [Bug fortran/104130] [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 since r12-4467-g64f9623765da3306 marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-20  7:56 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
   Target Milestone|---                         |12.0

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

* [Bug fortran/104130] [12 Regression] ICE in gfc_add_class_array_ref,  at fortran/class.c:274 since r12-4467-g64f9623765da3306
  2022-01-19 18:52 [Bug fortran/104130] New: [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 gscfq@t-online.de
  2022-01-20  7:56 ` [Bug fortran/104130] " rguenth at gcc dot gnu.org
@ 2022-01-20 10:17 ` marxin at gcc dot gnu.org
  2022-05-06  8:32 ` [Bug fortran/104130] [12/13 " jakub at gcc dot gnu.org
  2023-05-08 12:23 ` [Bug fortran/104130] [12/13/14 " rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-20 10:17 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|[12 Regression] ICE in      |[12 Regression] ICE in
                   |gfc_add_class_array_ref, at |gfc_add_class_array_ref, at
                   |fortran/class.c:274         |fortran/class.c:274 since
                   |                            |r12-4467-g64f9623765da3306
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-01-20

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r12-4467-g64f9623765da3306.

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

* [Bug fortran/104130] [12/13 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 since r12-4467-g64f9623765da3306
  2022-01-19 18:52 [Bug fortran/104130] New: [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 gscfq@t-online.de
  2022-01-20  7:56 ` [Bug fortran/104130] " rguenth at gcc dot gnu.org
  2022-01-20 10:17 ` [Bug fortran/104130] [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 since r12-4467-g64f9623765da3306 marxin at gcc dot gnu.org
@ 2022-05-06  8:32 ` jakub at gcc dot gnu.org
  2023-05-08 12:23 ` [Bug fortran/104130] [12/13/14 " rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:32 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.0                        |12.2

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

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

* [Bug fortran/104130] [12/13/14 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 since r12-4467-g64f9623765da3306
  2022-01-19 18:52 [Bug fortran/104130] New: [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2022-05-06  8:32 ` [Bug fortran/104130] [12/13 " jakub at gcc dot gnu.org
@ 2023-05-08 12:23 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-05-08 12:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.3                        |12.4

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 12.3 is being released, retargeting bugs to GCC 12.4.

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 18:52 [Bug fortran/104130] New: [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 gscfq@t-online.de
2022-01-20  7:56 ` [Bug fortran/104130] " rguenth at gcc dot gnu.org
2022-01-20 10:17 ` [Bug fortran/104130] [12 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 since r12-4467-g64f9623765da3306 marxin at gcc dot gnu.org
2022-05-06  8:32 ` [Bug fortran/104130] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:23 ` [Bug fortran/104130] [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).