This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32088] [4.3 Regression] ICE (doesn't occur if given function standalone instead on internal)
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2007 11:23:58 -0000
- Subject: [Bug fortran/32088] [4.3 Regression] ICE (doesn't occur if given function standalone instead on internal)
- References: <bug-32088-14607@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-05-27 11:23 -------
(In reply to comment #3)
> The question is now, why is proc->result->attr.implicit_type not set?
I believe it's set on the function name, but not on the result variable.
Consider the following reduced testcase:
subroutine dummy
contains
function quadric() result(c)
dimension c(1)
c = 0
end function
end
It doesn't ICE when the function itself is called c, and the result
construction isn't used.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32088