http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56814
--- Comment #4 from janus at gcc dot gnu.org 2013-04-03 09:41:12 UTC --- Unfortunately this patch produces one testsuite failure: > gfortran-4.9 recursive_interface_1.f90 recursive_interface_1.f90:16:0: internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:1063 function baz() result(r3) ^ 0x6b6aca gfc_typenode_for_spec(gfc_typespec*) /home/janus/gcc49/trunk/gcc/fortran/trans-types.c:1063 0x6b9ca5 gfc_sym_type(gfc_symbol*) /home/janus/gcc49/trunk/gcc/fortran/trans-types.c:2129 0x6bbe95 gfc_get_function_type(gfc_symbol*) /home/janus/gcc49/trunk/gcc/fortran/trans-types.c:2878 0x6bbe4d gfc_get_function_type(gfc_symbol*) /home/janus/gcc49/trunk/gcc/fortran/trans-types.c:2871 0x6bbe4d gfc_get_function_type(gfc_symbol*) /home/janus/gcc49/trunk/gcc/fortran/trans-types.c:2871 0x658504 build_function_decl /home/janus/gcc49/trunk/gcc/fortran/trans-decl.c:1858 0x65ac7b gfc_create_function_decl(gfc_namespace*, bool) /home/janus/gcc49/trunk/gcc/fortran/trans-decl.c:2513 Will investigate ...