This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23994] PROTECTED attribute (F2003) is not implemented
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2005 11:26:41 -0000
- Subject: [Bug fortran/23994] PROTECTED attribute (F2003) is not implemented
- References: <20050921104534.23994.fxcoudert@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-21 11:26 -------
[in answer to pinskia, who added the keyword accepts-invalid]
Currently, gfortran doesn't accept this code:
$ gfortran -std=f2003 a.f90
In file a.f90:2
REAL,PROTECTED :: temp
1
Error: Syntax error in data declaration at (1)
In the future, it should accept the PROTECTED attribute at line 2, and issue an
error (or warning) at line 12. Removing keyword accordingly.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|accepts-invalid |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23994