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/28004] Warn if intent(out) dummy variable is not set



------- Comment #5 from tkoenig at gcc dot gnu dot org  2006-11-11 11:18 -------
Related (and maybe more relevant):

INTENT(OUT) variables become undefined on subroutine
or function entry.  We should be able to warn if
they are used:

subroutine foo(a,b)
  real, intent(out) :: a
  real, intent(out) :: b
  print *,a
  b = a
end subroutine foo


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org


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


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