public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/53298] ICE in gfc_conv_scalarized_array_ref for ARRAY + substring Date: Wed, 29 Jul 2020 10:16:58 +0000 [thread overview] Message-ID: <bug-53298-4-E5QZEP3aGJ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53298-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53298 --- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Mark Eggleston <markeggleston@gcc.gnu.org>: https://gcc.gnu.org/g:c2e99836a2751b6d970ca6e50c1a368f5d2a2375 commit r11-2398-gc2e99836a2751b6d970ca6e50c1a368f5d2a2375 Author: Mark Eggleston <markeggleston@gcc.gnu.org> Date: Fri Jul 17 14:22:48 2020 +0100 Fortran : ICE in gfc_conv_scalarized_array_ref PR53298 When an array of characters is an argument to a subroutine and is accessed using (:)(1:) an ICE occurs. The upper bound of the substring does not have an expression and such should not have a Scalarization State structure added to the Scalarization State chain. 2020-07-29 Mark Eggleston <markeggleston@gcc.gnu.org> gcc/fortran/ PR fortran/53298 * trans-array.c (gfc_walk_array_ref): If ref->ss.end is set call gfc_get_scalar_ss. 2020-07-29 Mark Eggleston <markeggleston@gcc.gnu.org> gcc/testsuite/ PR fortran/53298 * gfortran.dg/pr53298.f90: New test.
next prev parent reply other threads:[~2020-07-29 10:16 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-09 17:12 [Bug fortran/53298] New: " burnus at gcc dot gnu.org 2013-04-06 11:46 ` [Bug fortran/53298] " tkoenig at gcc dot gnu.org 2013-04-27 13:31 ` dominiq at lps dot ens.fr 2020-07-23 8:36 ` bardeau at iram dot fr 2020-07-23 8:38 ` bardeau at iram dot fr 2020-07-29 10:16 ` cvs-commit at gcc dot gnu.org [this message] 2020-07-29 10:17 ` markeggleston at gcc dot gnu.org 2020-07-29 14:32 ` dominiq at lps dot ens.fr 2020-07-30 9:22 ` markeggleston at gcc dot gnu.org 2020-09-09 6:34 ` markeggleston at gcc dot gnu.org 2020-09-09 6:57 ` markeggleston 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-53298-4-E5QZEP3aGJ@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).