This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29634] ICE in variable_decl, for function returning a derived type
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2006 19:33:16 -0000
- Subject: [Bug fortran/29634] ICE in variable_decl, for function returning a derived type
- References: <bug-29634-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from aldot at gcc dot gnu dot org 2006-11-01 19:33 -------
(In reply to comment #0)
> The following gives an ICE:
>
> type foo
> integer :: i
> end type foo
>
> interface fun_interface
> type(foo) function fun()
> end function fun
> end interface
>
> contains
>
> type(foo) function fun()
> end function ieee_class_r4
ieee_class_r4? Shouldn't this be fun instead?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29634