[Bug fortran/39490] Non-standard assignment of arrays of character objects
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 18 19:13:00 GMT 2009
------- Comment #2 from burnus at gcc dot gnu dot org 2009-03-18 19:12 -------
> Confirmed on 4.3.3
Well, I get also with 4.3.x an error with -std=f95.
The question is rather: Is is on purpose that it is rejected with -std=gnu with
4.4, while 4.2/4.3 accept it. (g95, sunf95 and NAG f95 reject it; while ifort
and openf95 accept it with default options.)
Another version of legal code is:
CHARACTER(14) :: prop(4) = (/ character(14) :: 'name', 'data_file_name',
'Ho_units','mpolar_units'/)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39490
More information about the Gcc-bugs
mailing list