This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25710] New: accepts "call" to function
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2006 05:25:14 -0000
- Subject: [Bug fortran/25710] New: accepts "call" to function
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase:
function f()
REAL :: f
f = 1.0
end function
call f
end
-----
This is very much related to PR 23308.
The problem here is the main issue why we create two decls for f in the
following program:
function f()
REAL :: f
f = 1.0
end function
g = f()
end
--
Summary: accepts "call" to function
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
BugsThisDependsOn: 23308
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25710