aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2020-09-06 18:36:20 +0200
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2020-09-06 18:37:05 +0200
commit23f8b90c401842afcbaa50a7fd3c2f37818f4396 (patch)
tree3e5cf356650dbd929e667b1abb03339a7619e811 /gcc
parent7c72651a937533cb67360a6faca05e5603a65865 (diff)
downloadgcc-23f8b90c401842afcbaa50a7fd3c2f37818f4396.zip
gcc-23f8b90c401842afcbaa50a7fd3c2f37818f4396.tar.gz
gcc-23f8b90c401842afcbaa50a7fd3c2f37818f4396.tar.bz2
fortran: Add comment about previous commit
gcc/fortran/ChangeLog * trans-types.c (gfc_get_ppc_type): Add comment.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/trans-types.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c
index a05633e..ecc4454 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));
}