This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: new patch


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


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