------- 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

Reply via email to