This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34805] defined assignment not allowed to vector subscripted array
- 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: 16 Jan 2008 07:23:50 -0000
- Subject: [Bug fortran/34805] defined assignment not allowed to vector subscripted array
- References: <bug-34805-15620@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2008-01-16 07:23 -------
The error message is strange, but an error is not necessarily wrong. Other
compilers show the following messages:
NAG f95 shows the error:
Error: line 29: Argument T (no. 1) of C_U_TO_T is OUT or INOUT but is not a
variable
g95:
Error: Actual argument at (1) is a vector subscript associated with an
INTENT(OUT)/INTENT(INOUT) argument
ifort -stand f95:
Warning:line 29: It is non-standard to call an elemental procedure with an
array having vector valued subscripts if the dummy argument has intent [IN]OUT.
[TLA1L]
TLA1L(NFV1) = UDA1R
------^
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34805