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

--- Comment #15 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #14)
> > The test in comment 2 compiles without error at revision r242002
> > although I think it is invalid. It gives an ICE with r241962.
> 
> This is due to r241972 (pr77596).

Huh, I don't see how r241972 (which only deals with pointer assignments) could
affect comment 2.

I see it ICEing with r242047, as it did with previous releases:

internal compiler error: in gfc_generate_function_code, at
fortran/trans-decl.c:6147
0x90a75b gfc_generate_function_code(gfc_namespace*)
        /home/jweil/gcc/gcc7/trunk/gcc/fortran/trans-decl.c:6147
0x90802b gfc_generate_contained_functions
        /home/jweil/gcc/gcc7/trunk/gcc/fortran/trans-decl.c:5241
0x90a92e gfc_generate_function_code(gfc_namespace*)
        /home/jweil/gcc/gcc7/trunk/gcc/fortran/trans-decl.c:6190
0x8cdab7 gfc_generate_code(gfc_namespace*)
        /home/jweil/gcc/gcc7/trunk/gcc/fortran/trans.c:2030
0x85cceb translate_all_program_units
        /home/jweil/gcc/gcc7/trunk/gcc/fortran/parse.c:6038
0x85d360 gfc_parse_file()
        /home/jweil/gcc/gcc7/trunk/gcc/fortran/parse.c:6238
0x8b645f gfc_be_parse_file
        /home/jweil/gcc/gcc7/trunk/gcc/fortran/f95-lang.c:202

Reply via email to