From 23f8b90c401842afcbaa50a7fd3c2f37818f4396 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sun, 6 Sep 2020 18:36:20 +0200 Subject: [PATCH] fortran: Add comment about previous commit gcc/fortran/ChangeLog * trans-types.c (gfc_get_ppc_type): Add comment. --- gcc/fortran/trans-types.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c index a05633e827c..ecc4454bb63 100644 --- a/gcc/fortran/trans-types.c +++ b/gcc/fortran/trans-types.c @@ -2435,6 +2435,8 @@ gfc_get_ppc_type (gfc_component* c) else t = void_type_node; + /* FIXME: it would be better to provide explicit interfaces in all + cases, since they should be known by the compiler. */ return build_pointer_type (build_function_type (t, NULL_TREE)); } -- 2.30.2