public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/44735] ICE on FORALL with character array pointer Date: Fri, 29 Aug 2014 09:44:00 -0000 [thread overview] Message-ID: <bug-44735-4-aN8ns1mwZb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-44735-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44735 --- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- This PR is fixed by the patch at https://gcc.gnu.org/ml/fortran/2014-08/msg00114.html. Test that can be executed: subroutine bug character(len=10) :: F_string character(len=1), dimension(:), pointer :: p_chars allocate(p_chars(10)) p_chars = ['a','b','c','d','e','f','g','h','i','j'] forall (i=1:len(F_string)) F_string(i:i) = p_chars(i) end forall print *, F_string deallocate(p_chars) end subroutine bug call bug() end [Book15] f90/bug% a.out abcdefghij
next prev parent reply other threads:[~2014-08-29 9:44 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-44735-4@http.gcc.gnu.org/bugzilla/> 2010-12-29 22:18 ` tkoenig at gcc dot gnu.org 2013-03-17 15:25 ` tkoenig at gcc dot gnu.org 2014-08-29 9:44 ` dominiq at lps dot ens.fr [this message] 2014-08-31 14:37 ` tkoenig at gcc dot gnu.org 2015-05-04 14:27 ` fxcoudert at gcc dot gnu.org 2015-05-04 14:31 ` fxcoudert at gcc dot gnu.org 2010-06-30 21:34 [Bug fortran/44735] New: " jkrahn at nc dot rr dot com 2010-07-01 6:21 ` [Bug fortran/44735] " burnus at gcc dot gnu dot org 2010-08-18 18:55 ` pault at gcc dot gnu dot 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-44735-4-aN8ns1mwZb@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).