This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] PR17222: Functions with derived type
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: GCC Fortran mailing list <fortran at gcc dot gnu dot org>,patch <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 31 Aug 2004 18:46:15 +0200
- Subject: Re: [gfortran] PR17222: Functions with derived type
- References: <4134A81A.7090806@physik.uni-muenchen.de> <20040831164036.GA99201@troutmask.apl.washington.edu>
Steve Kargl wrote:
> On Tue, Aug 31, 2004 at 06:32:26PM +0200, Tobias Schl?ter wrote:
>
>>2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
>>
>> PR fortran/17222
>> * trans-types.c (gfc_return_by_reference): Remove TODO error,
>> add comment pointing out possible issue WRT compatibility with g77.
>
>
> Can you give more details of the compatibility issue with g77?
> AFAIK, Fortran 77 did not implement derived types. Did g77
> implement derived types as an extension?
That I don't know. The comment says this:
+ /* Possibly return complex numbers by reference for g77 compatibility. */
and so this issue is not related to derived types ;-)
- Tobi