This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gfortran] Remove old TODO


Derived type return values have already been implemented, and don't use 
return_by_reference. Thus the TODO below is bogus.

Applied to mainline.

Paul

2005-01-22  Paul Brook  <paul@codesourcery.com>

 * trans-expr.c (gfc_conv_function_call): Remove bogus TODO.

Index: trans-expr.c
===================================================================
RCS file: /var/cvsroot/gcc-cvs/gcc/gcc/fortran/trans-expr.c,v
retrieving revision 1.35
diff -u -p -r1.35 trans-expr.c
--- trans-expr.c 18 Jan 2005 12:11:55 -0000 1.35
+++ trans-expr.c 22 Jan 2005 19:16:01 -0000
@@ -1113,7 +1113,7 @@ gfc_conv_function_call (gfc_se * se, gfc
    arglist = gfc_chainon_list (arglist, 
           convert (gfc_charlen_type_node, len));
  }
-      else      /* TODO: derived type function return values.  */
+      else
  gcc_unreachable ();
     }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]