[gcc r11-3020] fortran: Add comment about previous commit

Franथईois-Xavier Coudert fxcoudert@gcc.gnu.org
Sun Sep 6 16:37:12 GMT 2020


https://gcc.gnu.org/g:23f8b90c401842afcbaa50a7fd3c2f37818f4396

commit r11-3020-g23f8b90c401842afcbaa50a7fd3c2f37818f4396
Author: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date:   Sun Sep 6 18:36:20 2020 +0200

    fortran: Add comment about previous commit
    
    gcc/fortran/ChangeLog
    
            * trans-types.c (gfc_get_ppc_type): Add comment.

Diff:
---
 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));
 }


More information about the Gcc-cvs mailing list