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: Patch for PR 16946: sum (array, mask) is not accepted


On Tuesday 10 August 2004 17:28, Erik Schnetter wrote:
> 2004-08-10  Erik Schnetter <schnetter@aei.mpg.de>
>
> 	PR fortran/16946
> 	* check.c (gfc_check_reduction): New function.
> 	(gfc_check_minval_maxval): Removed.
> 	(gfc_check_product): Removed.
> 	(gfc_check_sum): Removed.
> 	* intrinsic.h: Add/remove declarations for these.
> 	* gfortran.h: Add field f3red to union gfc_check_f.
> 	* intrinsic.c (add_sym_3red): New function.
> 	(add_functions): Register maxval, minval, product, and sum intrinsics
> 	through add_sym_3red.
> 	(check_specific): Handle f3red union field.
> 	* iresolve.c: Whitespace change.

I like this a lot.  OK.


Gr.
Steven


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