[Bug fortran/30792] DATA implied-do substring allowed with -std=f95/f2003
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 23 13:53:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list