This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39490] Non-standard assignment of arrays of character objects
- 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: 18 Mar 2009 19:12:55 -0000
- Subject: [Bug fortran/39490] Non-standard assignment of arrays of character objects
- References: <bug-39490-17466@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 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