From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 511E63856243; Thu, 6 Jul 2023 16:38:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 511E63856243 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688661490; bh=RPqCLd4cVk/8p07RpsZMuPK5AlblJY08UVBS4ePhRwY=; h=From:To:Subject:Date:From; b=nGdbthVpgIRmgYNleJ8bowIg87/BpEptqAHTbrjfkXLpgItATlkEbrAiRM9yuCc5F Yj1uuj653Ag3a+bLgstwKLe6ZpfY5jM8O9G82qs/tsdoG3ysaRvXdIRyzNC8oYcg2y OKayTzAv0twAZpc1gJRZhcF/yT/DyQ841jiSGga4= From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/110576] New: ICE on compilation Date: Thu, 06 Jul 2023 16:38:09 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot 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 attachments.created 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110576 Bug ID: 110576 Summary: ICE on compilation Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- Created attachment 55490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55490&action=3Dedit reproducer The following reproducer leads to an ICE which I see already with gfortran 11.3. It was intended to become a reproducer for the optimization bug in=20 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110311 but this is a separate issue. I will work around this one in the reproducer= for=20 110311. In the most recent master branch, 14.0.0, it leads to internal compiler error: Segmentation fault 0xd6eabf crash_signal ../../gcc/toplev.cc:314 0x7fe2411f151f ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0x844f2b structure_alloc_comps ../../gcc/fortran/trans-array.cc:9228 0x8459bf structure_alloc_comps ../../gcc/fortran/trans-array.cc:9167 0x847e8c gfc_deallocate_alloc_comp(gfc_symbol*, tree_node*, int, int) ../../gcc/fortran/trans-array.cc:10265 0x86980a gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec*) ../../gcc/fortran/trans-expr.cc:6940 0x8b1952 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool) ../../gcc/fortran/trans-stmt.cc:424 0x82f93b trans_code ../../gcc/fortran/trans.cc:2297 0x8b5c30 gfc_trans_block_construct(gfc_code*) ../../gcc/fortran/trans-stmt.cc:2351 0x82f887 trans_code ../../gcc/fortran/trans.cc:2325 0x85da69 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.cc:7717 0x833ec1 gfc_generate_module_code(gfc_namespace*) ../../gcc/fortran/trans.cc:2651 0x7d42f5 translate_all_program_units ../../gcc/fortran/parse.cc:6914 0x7d42f5 gfc_parse_file() ../../gcc/fortran/parse.cc:7233 0x82c6ef gfc_be_parse_file ../../gcc/fortran/f95-lang.cc:229 Please submit a full bug report, with preprocessed source. Please include the complete backtrace with any bug report.=