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/102620] [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865 since r12-1233-gd514626ee2566c68 Date: Fri, 26 Apr 2024 19:24:24 +0000 [thread overview] Message-ID: <bug-102620-4-ElbWWPL7OO@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-102620-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102620 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|WAITING |RESOLVED --- Comment #13 from anlauf at gcc dot gnu.org --- Also fixed on 12-branch: commit r12-10398-gb482968801158116dd8ba3b15a4c29143b2a423a Author: Paul Thomas <pault@gcc.gnu.org> Date: Tue May 23 06:46:37 2023 +0100 Fortran: Fix assumed length chars and len inquiry [PR103716] 2023-05-23 Paul Thomas <pault@gcc.gnu.org> gcc/fortran PR fortran/103716 * resolve.cc (gfc_resolve_ref): Conversion of array_ref into an element should be done for all characters without a len expr, not just deferred lens, and for integer expressions. * trans-expr.cc (conv_inquiry): For len and kind inquiry refs, set the se string_length to NULL_TREE. gcc/testsuite/ PR fortran/103716 * gfortran.dg/pr103716.f90 : New test. (cherry picked from commit 842a432b02238361ecc601d301ac400a7f30f4fa) The ICE is gone. A remaining accepts-invalid on 11-branch could be fixed by backporting the above if needed. Thanks for the report to Gerhard, and to Paul for the above patch. Closing.
prev parent reply other threads:[~2024-04-26 19:24 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-05 18:34 [Bug fortran/102620] New: [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865 gscfq@t-online.de 2021-10-05 18:35 ` [Bug fortran/102620] " gscfq@t-online.de 2021-10-05 19:22 ` anlauf at gcc dot gnu.org 2021-10-06 8:41 ` rguenth at gcc dot gnu.org 2021-10-11 8:26 ` [Bug fortran/102620] [12 Regression] ICE in gfc_get_array_span, at fortran/trans-array.c:865 since r12-1233-gd514626ee2566c68 marxin at gcc dot gnu.org 2022-05-06 8:31 ` [Bug fortran/102620] [12/13 " jakub at gcc dot gnu.org 2023-05-08 12:22 ` [Bug fortran/102620] [12/13/14 " rguenth at gcc dot gnu.org 2023-08-21 20:58 ` anlauf at gcc dot gnu.org 2024-04-02 20:28 ` [Bug fortran/102620] [12 " anlauf at gcc dot gnu.org 2024-04-25 6:30 ` pault at gcc dot gnu.org 2024-04-25 18:32 ` anlauf at gcc dot gnu.org 2024-04-26 5:24 ` pault at gcc dot gnu.org 2024-04-26 18:36 ` anlauf at gcc dot gnu.org 2024-04-26 19:24 ` anlauf at gcc dot gnu.org [this message]
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-102620-4-ElbWWPL7OO@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).