From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 30D783858D34; Sun, 26 May 2024 18:38:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30D783858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716748719; bh=mcRQfe1pY/VfRAGVL5K2GatrGqIcXD+tzo29hddeuA4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eCOPwmPB3RdzsfiapzPzIgZBrzikkzU3nuaOrt7WsyDbt8z5Z3Wk7dcev75JG3drq hYHp3GM6vZMEDJrQABbKZJ5y/OaUxaXaMBdJY6sNryzp29wyvfAKHAIaxefHDAucue dUsMqBtgC9M+lbQnCAFA5nMY8s5O1t0d3y6dvuio= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/115107] f951: internal compiler error: Segmentation fault 0xcf878f crash_signal toplev.cc:314 Date: Sun, 26 May 2024 18:38:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: Message-ID: In-Reply-To: References: 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=3D115107 --- Comment #16 from anlauf at gcc dot gnu.org --- (In reply to Natalie Perlin from comment #15) > Quick update:=20 >=20 > Software stack and model build with gnu/13.3.0 was clear from all previous > issues! So issue with the gnu/13.x.0 compiler could be considered as fixe= d, > thank you so much for the help here.=20 Good! > Build with gnu/14.1.0 generated more ICEs, however.=20 > FYI, the compiler errors looked as following: >=20 > ----- > ...register_variable_attribute.inc:56:60: >=20 > internal compiler error: in gfc_walk_array_ref, at > fortran/trans-array.cc:11870 > 0x75dffb gfc_walk_array_ref(gfc_ss*, gfc_expr*, gfc_ref*) > ../../gcc/fortran/trans-array.cc:11870 > 0x8d5f90 gfc_walk_expr(gfc_expr*) > ../../gcc/fortran/trans-array.cc:12232 > 0x75dffb gfc_walk_array_ref(gfc_ss*, gfc_expr*, gfc_ref*) > ../../gcc/fortran/trans-array.cc:11870 > 0x8d5f90 gfc_walk_expr(gfc_expr*) > ../../gcc/fortran/trans-array.cc:12232 > 0x8fb2c8 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist= *, > gfc_expr*, vec*) > ../../gcc/fortran/trans-expr.cc:6578 > 0x8fb2c8 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist= *, > gfc_expr*, vec*) > ../../gcc/fortran/trans-expr.cc:6578 > 0x90c46a gfc_conv_expr_reference(gfc_se*, gfc_expr*) > ../../gcc/fortran/trans-expr.cc:9979 > 0x8fd2f4 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist= *, > gfc_expr*, vec*) > ../../gcc/fortran/trans-expr.cc:6756 > 0x90f4b8 gfc_trans_assignment_1 > ../../gcc/fortran/trans-expr.cc:12287 > 0x90c46a gfc_conv_expr_reference(gfc_se*, gfc_expr*) > ../../gcc/fortran/trans-expr.cc:9979 > 0x8fd2f4 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist= *, > gfc_expr*, vec*) > ../../gcc/fortran/trans-expr.cc:6756 > 0x90f4b8 gfc_trans_assignment_1 > ../../gcc/fortran/trans-expr.cc:12287 > 0x8c3897 trans_code > ... > ... (more diagnostic prints) > ... > Please submit a full bug report, with preprocessed source (by using > -freport-bug). > Please include the complete backtrace with any bug report. > See for instructions. > 0x8657ad translate_all_program_units > ../../gcc/fortran/parse.cc:7086 > Please submit a full bug report, with preprocessed source (by using > -freport-bug). > ---------------- Well, that is a different traceback and likely a different error. Can you provide a reduced reproducer? As you write, the ICE does not occur in 13.3 but is new at 14.1, so having the new bug in a different PR might make it easier to track than keeping it here.=