Alternate return

Paul Brook paul@nowt.org
Thu Nov 27 12:46:00 GMT 2003


> 2003-11-26  Huang Chun <chunhuang73@hotmail.com>
>      * trans.h (has_alternate_specifier): New global variable.
>      * match.c (gfc_match_call):  Handle actual arguments associated with
>      alternate return indicators.
>      * trans-expr.c (gfc_conv_function_call): Ditto
>      * trans-stmt.c (gfc_trans_call): Ditto
>      (gfc_trans_return): Handle return statement with value.
>      * trans-decl.c (gfc_generate_function_code): Handle functions
>      with asterisk dummy.
>      (gfc_get_fake_result_decl): Ditto
>      * trans-types.c (gfc_get_function_type): Ditto
>      * resolve.c (resolve_actual_arglist): Check alternate 
>      return indicators.
>      (resolve_formal_arglist): Check asterisk dummy.

Ok, assuming it's passed regression tests.

Paul

P.S. I can't remember if you have CVS write access. If you need patches 
applying rather than just approving I happy to do it, you'll just need to 
say so.



More information about the Gcc-patches mailing list