This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30792] DATA implied-do substring allowed with -std=f95/f2003
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2007 13:53:03 -0000
- Subject: [Bug fortran/30792] DATA implied-do substring allowed with -std=f95/f2003
- References: <bug-30792-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2007-06-23 13:53 -------
Also the following is not allowed:
data (string,i=1,1)/'hello'/
or
data (string,i=1,2)/'hello','foo'/
For the second, ifort -stand f95:
Warning: Overlapping storage initializations encountered with STRING
For both:
- NAG f95: syntax error
- g95: Error: DATA element inside iterator must be an array element or a scalar
structure component
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30792