fortran: Fix function arg types for class objects

gcc/fortran/ChangeLog

	* trans-types.c (gfc_get_ppc_type): Fix function arg types.
This commit is contained in:
Francois-Xavier Coudert 2020-09-06 18:33:04 +02:00
parent 3489d80fee
commit 7c72651a93

View file

@ -2435,7 +2435,7 @@ gfc_get_ppc_type (gfc_component* c)
else
t = void_type_node;
return build_pointer_type (build_function_type_list (t, NULL_TREE));
return build_pointer_type (build_function_type (t, NULL_TREE));
}