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

Reply via email to