[Bug fortran/30869] Rejects pointer to integer as loop variable

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 20 09:03:00 GMT 2007



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



More information about the Gcc-bugs mailing list