------- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-05-03 13:53
-------
I guess -fwhole-file should catch this one, but it does not. The testcase I
used is:
integer function two()
two = 2
end function two
program xx
! real, external :: two
print *, two(), kind(two())
end program xx
You can comment or uncomment the line with "external", both versions should be
caught.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu dot org
Severity|enhancement |minor
Last reconfirmed|2007-03-18 17:53:03 |2009-05-03 13:53:02
date| |
Summary|catch function of wrong type|-fwhole-file should catch
| |function of wrong type
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30668