This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Alternate return
- From: Paul Brook <paul at nowt dot org>
- To: "HUANG Chun" <chunhuang73 at hotmail dot com>, fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 27 Nov 2003 11:01:18 +0000
- Subject: Re: Alternate return
- References: <Sea1-F138FprhMOgRGk0000e93f@hotmail.com>
> 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.