check.c (gfc_check_reduction): Rename to ...
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sun, 22 Aug 2004 12:09:26 +0000 (14:09 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sun, 22 Aug 2004 12:09:26 +0000 (14:09 +0200)
commit617097a3374140b8ec5a4e991ff69fbe94329b74
tree26a3905b35b9b195a14c3066f37f48183340871d
parent60e6c8521675dbd85ffa40cc40c5ee489c8ef502
check.c (gfc_check_reduction): Rename to ...

* check.c (gfc_check_reduction): Rename to ...
(check_reduction): ... this. Make static. Don't check type of
first argument.
(gfc_check_minval_maxval, gfc_check_prodcut_sum): New functions.
* intrinsic.c (add_functions): Change MAXVAL, MINVAL, PRODUCT and
SUM to use new check functions.
(check_specific): Change logic to call new functions.
* intrinsic.h (gfc_check_minval_maxval, gfc_check_product_sum):
Add prototypes.
(gfc_check_reduction): Remove prototype.

From-SVN: r86377
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h