From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C7E0385840E; Mon, 22 Nov 2021 19:38:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C7E0385840E From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103366] New: [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647 Date: Mon, 22 Nov 2021 19:38:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2021 19:38:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103366 Bug ID: 103366 Summary: [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647 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: --- This changed between 20211017 and 20211024 : $ cat z1.f90 program p contains subroutine s(x) bind(c) type(*) :: x(..) end subroutine u(x) class(*) :: x(..) call s(x) end end $ gfortran-12-20211017 -c z1.f90 $ $ gfortran-12-20211121 -c z1.f90 z1.f90:8:15: 8 | call s(x) | 1 internal compiler error: in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647 0x886d7e gfc_conv_gfc_desc_to_cfi_desc ../../gcc/fortran/trans-expr.c:5647 0x88bf87 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec*) ../../gcc/fortran/trans-expr.c:6802 0x8c6f90 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool) ../../gcc/fortran/trans-stmt.c:422 0x84fb38 trans_code ../../gcc/fortran/trans.c:1984 0x8789fe gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:7644 0x87882c gfc_generate_contained_functions ../../gcc/fortran/trans-decl.c:5772 0x87882c gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:7576 0x7fbd3e translate_all_program_units ../../gcc/fortran/parse.c:6638 0x7fbd3e gfc_parse_file() ../../gcc/fortran/parse.c:6925 0x848a6f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:216=