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/30869] Rejects pointer to integer as loop variable



------- Comment #1 from burnus at gcc dot gnu dot org  2007-02-20 09:03 -------

Error: Loop variable at (1) cannot have the POINTER attribute

C820 (R831) The do-variable shall be a named scalar variable of type integer.

The program is accepted by ifort, NAG f95, g95 and sunf95.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-20 09:03:46
               date|                            |
            Summary|incorrect error message for |Rejects pointer to integer
                   |valid code                  |as loop variable


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


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