public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/60238] New: Allow colon-separated triplet in array initialization @ 2014-02-17 11:10 antony at cosmologist dot info 2014-02-17 11:25 ` [Bug fortran/60238] " dominiq at lps dot ens.fr ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: antony at cosmologist dot info @ 2014-02-17 11:10 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60238 Bug ID: 60238 Summary: Allow colon-separated triplet in array initialization Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: antony at cosmologist dot info Not really a bug, but ifort (and also going back, CVF) allow a clean array initialization sytnax like this integer :: indices(3) indices=[3:5] as an alternative to the ugly indices = (/ (I, I=3, 5) /) Supporting it would allow easier compiler interoperability. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/60238] Allow colon-separated triplet in array initialization 2014-02-17 11:10 [Bug fortran/60238] New: Allow colon-separated triplet in array initialization antony at cosmologist dot info @ 2014-02-17 11:25 ` dominiq at lps dot ens.fr 2014-02-19 10:07 ` dominiq at lps dot ens.fr 2014-12-06 14:40 ` dominiq at lps dot ens.fr 2 siblings, 0 replies; 4+ messages in thread From: dominiq at lps dot ens.fr @ 2014-02-17 11:25 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60238 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > as an alternative to the ugly > > indices = (/ (I, I=3, 5) /) You can use indices=[(I, I=3, 5)] if your coding style accepts f2003 syntax. > Supporting it would allow easier compiler interoperability. The only way to achieve that is to stick to the Fortran standard, i.e, never use extensions of any kind. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/60238] Allow colon-separated triplet in array initialization 2014-02-17 11:10 [Bug fortran/60238] New: Allow colon-separated triplet in array initialization antony at cosmologist dot info 2014-02-17 11:25 ` [Bug fortran/60238] " dominiq at lps dot ens.fr @ 2014-02-19 10:07 ` dominiq at lps dot ens.fr 2014-12-06 14:40 ` dominiq at lps dot ens.fr 2 siblings, 0 replies; 4+ messages in thread From: dominiq at lps dot ens.fr @ 2014-02-19 10:07 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60238 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2014-02-19 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Anybody against closing this PR as WONTFIX? ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/60238] Allow colon-separated triplet in array initialization 2014-02-17 11:10 [Bug fortran/60238] New: Allow colon-separated triplet in array initialization antony at cosmologist dot info 2014-02-17 11:25 ` [Bug fortran/60238] " dominiq at lps dot ens.fr 2014-02-19 10:07 ` dominiq at lps dot ens.fr @ 2014-12-06 14:40 ` dominiq at lps dot ens.fr 2 siblings, 0 replies; 4+ messages in thread From: dominiq at lps dot ens.fr @ 2014-12-06 14:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60238 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Anybody against closing this PR as WONTFIX? No answer since almost nine months. Closing as WONTFIX. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-06 14:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-02-17 11:10 [Bug fortran/60238] New: Allow colon-separated triplet in array initialization antony at cosmologist dot info 2014-02-17 11:25 ` [Bug fortran/60238] " dominiq at lps dot ens.fr 2014-02-19 10:07 ` dominiq at lps dot ens.fr 2014-12-06 14:40 ` dominiq at lps dot ens.fr
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).