This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28004] Warn if intent(out) dummy variable is not set
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2007 21:06:36 -0000
- Subject: [Bug fortran/28004] Warn if intent(out) dummy variable is not set
- References: <bug-28004-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from dfranke at gcc dot gnu dot org 2007-07-03 21:06 -------
While I got the initially requested warning, ...
> INTENT(OUT) variables become undefined on subroutine
> or function entry. We should be able to warn if
> they are used:
... this seems to generally be the same problem as PR20520 (allocatable arrays
used uninitialized without a warning)?! Do we have any means to recognize this?
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dfranke at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-11-02 09:47:07 |2007-07-03 21:06:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28004