https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78865
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.5 Summary|ICE in create_tmp_var, at |[5/6/7 Regression] ICE in |gimple-expr.c:473 |create_tmp_var, at | |gimple-expr.c:473 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The warning likely should go into compare_actual_formal (the case where for f->sym == NULL there is no arg->label or vice versa). For the actual fix, dunno if the Fortran FE has some flag that sym is a definition rather than just implicit declaration, if not, it can be discovered e.g. from sym->backend_decl - if it has DECL_INITIAL non-NULL, or DECL_RESULT non-NULL, then we are looking certainly for a definition, which is too late to be changed. Started most likely with r162557 (r162550 doesn't ICE, r162560 ICEs).