From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 732EA3858D34; Tue, 16 Jun 2020 20:15:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 732EA3858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592338506; bh=DI8P852OgHen6s/9Hi0TwTvT4tPn45Lky5x5tUKmi10=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TDZ+8ENckOspz0YFVNFd3ObeCNCGAdR3ptroLgEA2j4gGvNeYitFUtZyFHC+8CnOn BVNJVVn5b3Zn28u9rsohntsqPHfco6Q46+wWzVkdcw6DlU3cWJYDMC2KfHaEOaSdrb NarMZJV1GgHlIPDTx+10U5/M3AEVFFCenPM64lEA= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95707] ICE in finish_equivalences, at fortran/trans-common.c:1319 Date: Tue, 16 Jun 2020 20:15:06 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on everconfirmed cc bug_status priority 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 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: Tue, 16 Jun 2020 20:15:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95707 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-06-16 Ever confirmed|0 |1 CC| |anlauf at gcc dot gnu.org Status|UNCONFIRMED |NEW Priority|P3 |P4 --- Comment #1 from anlauf at gcc dot gnu.org --- The ICE is fixed by the patch: diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h index c12a8bef277..836e0b3063d 100644 --- a/gcc/fortran/gfortran.h +++ b/gcc/fortran/gfortran.h @@ -1677,8 +1677,8 @@ typedef struct gfc_common_head char use_assoc, saved, threadprivate; unsigned char omp_declare_target : 1; unsigned char omp_declare_target_link : 1; - /* Provide sufficient space to hold "symbol.eq.1234567890". */ - char name[GFC_MAX_SYMBOL_LEN + 1 + 14]; + /* Provide sufficient space to hold "symbol.symbol.eq.1234567890". */ + char name[2*GFC_MAX_SYMBOL_LEN + 1 + 14 + 1]; struct gfc_symbol *head; const char* binding_label; int is_bind_c; However, I then get a possibly unrelated error: pr95707.f90:8:73: 8 |=20=20=20=20=20=20=20=20=20=20 n2345678901234567890123456789012345678901234567890123456789_123 |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1 Warning: Named COMMON block 'm2345678901234567890123456789012345678901234567890123456789_123.n234567890= 1234567890123456789012345678901234567890123456789_123.eq.1' at (1) shall be of the same size as elsewhere (24 vs 32 bytes)=