aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/intrinsic.c
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2006-06-24 10:27:32 +0200
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2006-06-24 08:27:32 +0000
commit3e7cb1c7e7e243794ce291abcbc3929f8b5f65d9 (patch)
tree4e2a4565f7f0838b16d9c83b741659c08717702c /gcc/fortran/intrinsic.c
parent35157c5e558ee9e67bc2fb3529e52dcd7a31ce5d (diff)
downloadgcc-3e7cb1c7e7e243794ce291abcbc3929f8b5f65d9.zip
gcc-3e7cb1c7e7e243794ce291abcbc3929f8b5f65d9.tar.gz
gcc-3e7cb1c7e7e243794ce291abcbc3929f8b5f65d9.tar.bz2
re PR fortran/28094 (Modulo of real(kind=10) variables doesn't work)
PR fortran/28094 * trans-intrinsic.c (gfc_conv_intrinsic_mod): Support cases where there is no integer kind equal to the resulting real kind. * intrinsic.c (add_functions): MODULO is not allowed as an actual argument. * Makefile.am: Add _mod_r10.F90 and _mod_r16.F90. * Makefile.in: Regenerate. * generated/_mod_r10.F90: New file. * generated/_mod_r16.F90: New file. From-SVN: r114961
Diffstat (limited to 'gcc/fortran/intrinsic.c')
-rw-r--r--gcc/fortran/intrinsic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/intrinsic.c b/gcc/fortran/intrinsic.c
index 46c25f6..082c1b0 100644
--- a/gcc/fortran/intrinsic.c
+++ b/gcc/fortran/intrinsic.c
@@ -1809,7 +1809,7 @@ add_functions (void)
make_generic ("mod", GFC_ISYM_MOD, GFC_STD_F77);
- add_sym_2 ("modulo", 1, 1, BT_REAL, di, GFC_STD_F95,
+ add_sym_2 ("modulo", 1, 0, BT_REAL, di, GFC_STD_F95,
gfc_check_a_p, gfc_simplify_modulo, gfc_resolve_modulo,
a, BT_REAL, di, REQUIRED, p, BT_REAL, di, REQUIRED);