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]

Re: [gfortran] PR17222: Functions with derived type


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


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