This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: new patch
- From: Paul Brook <paul at codesourcery dot com>
- To: "HUANG Chun" <chunhuang73 at hotmail dot com>, fortran at gcc dot gnu dot org
- Date: Sun, 11 Jan 2004 13:30:32 +0000
- Subject: Re: new patch
- Organization: CodeSourcery
- References: <Sea1-F128xq9jVUf118000411b9@hotmail.com>
On Friday 02 January 2004 12:33 am, HUANG Chun wrote:
> 2003-12-29 Huang Chun <chunhuang73@hotmail.com>
These are thee unrelated changes. In future please submit them as thee
seperate patches. I've addressed all three one way or annother.
> * trans-type.c (gfc_sym_type): type of dummy procedure should be 'void *'.
No, this is wrong. gfc_sym_type returns the return type of a procedure, not
the procedure type. Either way (void *) is not a valid type for a function
pointer (eg. on ia64).hun" <chunhuang73@hotmail.com>, fortran@gcc.gnu.org
> * trans-intrinsix.c (gfc_conv_intrinsic_minmax): Add necessary type
> conversion.
This is the wrong place to fix this problem. It should be handled during
resolution. I've applied something similar as a temporary fix, with a
corresponding comment.
> * iresolve.c (gfc_resolve_transpose): Fixed bug for complex type.
This is ok.
Paul