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/30882] size with initialization expression value for dim= is rejected



------- Comment #1 from burnus at gcc dot gnu dot org  2007-02-20 14:04 -------
 IF(SIZE(a(1:10),1).NE.10) CALL ABORT()
                1
Error: 'dim' argument of 'size' intrinsic at (1) is not a valid dimension index

Compiles just fine with ifort, nagf95 and g95.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-20 14:04:36
               date|                            |
            Summary|incorrect error message for |size with initialization
                   |valid code                  |expression value for dim= is
                   |                            |rejected


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30882


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