public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/103368] New: [11/12 Regression] ICE in gimplify_expr, at gimplify.c:15668
@ 2021-11-22 19:40 gscfq@t-online.de
  2021-11-23  7:34 ` [Bug fortran/103368] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-11-22 19:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103368
           Summary: [11/12 Regression] ICE in gimplify_expr, at
                    gimplify.c:15668
           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
   type t
   end type
   type t2
      class(*), allocatable :: a
   end type
   type(t) :: x
   call sub (t2(x))
end


$ gfortran-12-20211017 -c z1.f90
z1.f90:8:16:

    8 |    call sub (t2(x))
      |                1
Error: Cannot convert TYPE(t) to CLASS(*) at (1)


$ gfortran-12-20211121 -c z1.f90
z1.f90:8:19:

    8 |    call sub (t2(x))
      |                   ^
internal compiler error: in gimplify_expr, at gimplify.c:15668
0xad2dc5 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:15668
0xad862b gimplify_modify_expr
        ../../gcc/gimplify.c:5983
0xad019a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14666
0xad2df8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7024
0xad0a6b gimplify_statement_list
        ../../gcc/gimplify.c:2012
0xad0a6b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:15111
0xad2df8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7024
0xad3351 gimplify_bind_expr
        ../../gcc/gimplify.c:1426
0xad060a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14867
0xad2df8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7024
0xad0a6b gimplify_statement_list
        ../../gcc/gimplify.c:2012
0xad0a6b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:15111
0xad2df8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7024
0xad3351 gimplify_bind_expr
        ../../gcc/gimplify.c:1426
0xad060a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14867
0xad2df8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7024
0xad3351 gimplify_bind_expr
        ../../gcc/gimplify.c:1426
0xad060a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14867
0xad2df8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7024
0xad3e6b gimplify_body(tree_node*, bool)
        ../../gcc/gimplify.c:15912

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

end of thread, other threads:[~2024-04-03  0:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 19:40 [Bug fortran/103368] New: [11/12 Regression] ICE in gimplify_expr, at gimplify.c:15668 gscfq@t-online.de
2021-11-23  7:34 ` [Bug fortran/103368] " rguenth at gcc dot gnu.org
2021-11-23  7:59 ` [Bug fortran/103368] [11/12 Regression] ICE in gimplify_expr, at gimplify.c:15668 since r12-4464-g017665f63047ce47 marxin at gcc dot gnu.org
2021-11-23  8:03 ` pinskia at gcc dot gnu.org
2022-04-21  7:50 ` rguenth at gcc dot gnu.org
2023-05-29 10:06 ` [Bug fortran/103368] [11/12/13/14 " jakub at gcc dot gnu.org
2024-04-02 19:40 ` [Bug fortran/103368] [11/12/13 " anlauf at gcc dot gnu.org
2024-04-03  0:49 ` jvdelisle 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).