This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34665] Cannot pass scalar to array argument 'a'
- 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: 4 Jan 2008 07:11:38 -0000
- Subject: [Bug fortran/34665] Cannot pass scalar to array argument 'a'
- References: <bug-34665-6642@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-04 07:11 -------
Confirm.
NAG f95 prints:
Error: Element of assumed-shape array A supplied for array argument A (no. 1)
of S2
ifort:
Error: If the actual argument is scalar, the corresponding dummy argument shall
be scalar unless the actual argument is an element of an array that is not an
assumed-shape or pointer array, or a substring of such an element.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-01-04 07:11:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34665