This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34665] Cannot pass scalar to array argument 'a'



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]