This is the mail archive of the 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/25060] assignment of assumed size array not allowed

------- Comment #1 from fxcoudert at gcc dot gnu dot org  2005-11-26 19:30 -------
## g95 ##
In file foo.f90:3

   a = 1.e0
Error: Can't determine UBOUND for the final dimension of assumed-size array at
## Intel ##
fortcom: Error: foo.f90, line 3: The upper bound shall not be omitted in the
last dimension of a reference to an assumed size array.   [A]
   a = 1.e0
compilation aborted for foo.f90 (code 1)
## Portland ##
PGF90-S-0084-Illegal use of symbol a - extent of assumed size array is unknown
(foo.f90: 3)
  0 inform,   0 warnings,   1 severes, 0 fatal for e
## Sun ##

   a = 1.e0
"foo.f90", Line = 3, Column = 4: ERROR: A variable in an assignment statement
must not be an assumed-size array.


fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-26 19:30:48
               date|                            |
            Summary|better diagnostic needed    |assignment of assumed size
                   |                            |array not allowed

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