This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30869] Rejects pointer to integer as loop variable
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2007 09:03:47 -0000
- Subject: [Bug fortran/30869] Rejects pointer to integer as loop variable
- References: <bug-30869-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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