[Bug fortran/35918] Accepts invalid: INTERFACE <symbol> and REAL <symbol>
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 21:17:00 GMT 2009
------- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-08 21:17 -------
All three cases are flagged by current 4.5.0 20091208.
The first one gives
$> gfortran-svn pr35918.f90
pr35918.f90:2.8:
real foo
1
Error: FUNCTION attribute conflicts with SUBROUTINE attribute in 'foo' at (1)
which is a little wierd, but "REAL foo" could either refer to a function or a
variable. Thus I'd call this fixed.
Tobias, please close if you agree.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35918
More information about the Gcc-bugs
mailing list