public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.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 [thread overview] Message-ID: <bug-95707-4-21Orc39v43@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-95707-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95707 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 | n2345678901234567890123456789012345678901234567890123456789_123 | 1 Warning: Named COMMON block 'm2345678901234567890123456789012345678901234567890123456789_123.n2345678901234567890123456789012345678901234567890123456789_123.eq.1' at (1) shall be of the same size as elsewhere (24 vs 32 bytes)
next prev parent reply other threads:[~2020-06-16 20:15 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-16 18:51 [Bug fortran/95707] New: " gscfq@t-online.de 2020-06-16 20:15 ` anlauf at gcc dot gnu.org [this message] 2020-06-17 19:28 ` [Bug fortran/95707] " anlauf at gcc dot gnu.org 2020-06-20 14:15 ` cvs-commit at gcc dot gnu.org 2020-06-22 19:30 ` cvs-commit at gcc dot gnu.org 2020-06-23 20:47 ` anlauf at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-95707-4-21Orc39v43@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).