This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33950] Warning missing for function result 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: 29 Jan 2008 10:14:26 -0000
- Subject: [Bug fortran/33950] Warning missing for function result not set
- References: <bug-33950-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dfranke at gcc dot gnu dot org 2008-01-29 10:14 -------
See patch in PR31463. Output for testcases:
$> gfortran-svn -g -c -Wall pr33950-1.f90
pr33950-1.f90:1.27:
function pop() result(item)
1
Warning: Return value 'item' of function 'pop' declared at (1) not set
$> gfortran-svn -g -c -Wall pr33950-2.f90
pr33950-2.f90:1:
function pop()
1
Warning: Return value of function 'pop' at (1) not set
--
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|2007-10-30 16:27:17 |2008-01-29 10:14:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33950