[Bug fortran/23912] MOD function requires same kind arguments
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 2 15:50:00 GMT 2005
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2005-12-02 15:50 -------
Subject: Bug 23912
Author: fxcoudert
Date: Fri Dec 2 15:50:30 2005
New Revision: 107897
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107897
Log:
PR fortran/23912
* iresolve.c (gfc_resolve_dim, gfc_resolve_mod,
gfc_resolve_modulo): When arguments have different kinds, fold
the lower one to the largest kind.
* check.c (gfc_check_a_p): Arguments of different kinds is not
a hard error, but an extension.
* simplify.c (gfc_simplify_dim, gfc_simplify_mod,
gfc_simplify_modulo): When arguments have different kinds, fold
the lower one to the largest kind.
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/check.c
branches/gcc-4_1-branch/gcc/fortran/iresolve.c
branches/gcc-4_1-branch/gcc/fortran/simplify.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23912
More information about the Gcc-bugs
mailing list