This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50552] type name cannot be statement function dummy argument (r178939)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50552

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2011-10-16 23:43:11 UTC ---
(In reply to comment #0)
> ! type name cannot be statement function dummy argument (r178939) 
>       type t
>        real g
>       end type
>       f(t)=0  ! this should not be accepted
>       end

I can't find anything in the standard that confirms your
statement.  Can you point me to where the standard would
prohibit the above code?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]