[PATCH] PR fortran/95544 - ICE in gfc_can_put_var_on_stack, at fortran/trans-decl.c:494

Thomas Koenig tkoenig@netcologne.de
Thu Jun 11 16:26:11 GMT 2020


Hi Harald,

one remark: Instead of

+	  && !(strcmp(gfc_current_intrinsic, "associated") == 0
+		|| strcmp(gfc_current_intrinsic, "null") == 0
+		|| strcmp(gfc_current_intrinsic, "present") == 0))

could you maybe test sym->id ?

OK with that change.

Best regards, and thanks for the patch

	Thomas


More information about the Fortran mailing list