[Bug fortran/44265] Link error with reference to parameter array in specification expression

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sun Nov 8 14:06:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44265

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Variant: If one adds a
>   subroutine test()
>     print *, get(1)
>   end subroutine test
> in the module itself, one gets an ICE:
>
> foo.f90:18:0: internal compiler error: in gfc_generate_function_code,
> at fortran/trans-decl.c:4378

The ICE is still there with the patch. It is at the same location as for the
test in comment 2 of pr44348 and the one in pr66494.


More information about the Gcc-bugs mailing list