public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "olivier.marsden at ecmwf dot int" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64933] New: ASSOCIATE on a character variable does not allow substring expressions Date: Wed, 04 Feb 2015 10:22:00 -0000 [thread overview] Message-ID: <bug-64933-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64933 Bug ID: 64933 Summary: ASSOCIATE on a character variable does not allow substring expressions Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: olivier.marsden at ecmwf dot int Created attachment 34662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34662&action=edit gfortran 5.0 ICE output for test case The following program is generating an ICE with gcc-5-20150201, and fails with ASSOCIATE(should_work=>char_var) Error: Associate-name 'should_work' at (1) is used as array for gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux) The ICE output is attached. program test_this implicit none character(len=15) :: char_var ASSOCIATE(should_work=>char_var) should_work = "test succesful" print *, should_work(5:14) END ASSOCIATE end program
next reply other threads:[~2015-02-04 10:22 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-04 10:22 olivier.marsden at ecmwf dot int [this message] 2015-02-04 10:24 ` [Bug fortran/64933] " olivier.marsden at ecmwf dot int 2015-02-13 13:56 ` dominiq at lps dot ens.fr 2015-02-13 15:36 ` pault 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-64933-4@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).