aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/mathbuiltins.def
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2012-03-15 22:27:07 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2012-03-15 22:27:07 +0200
commit6715d47bba944ef7b268ef54fde1c918013f480b (patch)
tree9579173dd828b7321d6ff0bd81d503222d4a0b19 /gcc/fortran/mathbuiltins.def
parent28eccf2d94aa9a1e3c11db6f7ebcbaf8968718b6 (diff)
downloadgcc-6715d47bba944ef7b268ef54fde1c918013f480b.zip
gcc-6715d47bba944ef7b268ef54fde1c918013f480b.tar.gz
gcc-6715d47bba944ef7b268ef54fde1c918013f480b.tar.bz2
Enable BUILT_IN_IROUND.
2012-03-15 Janne Blomqvist <jb@gcc.gnu.org> * f95-lang.c (gfc_init_builtin_functions): Initialize BUILT_IN_IROUND. * mathbuiltins.def: Add IROUND. * trans-intrinsic.c (build_round_expr): Use BUILT_IN_IROUND if type size matches. (gfc_build_intrinsic_lib_fndecls): Build iround functions. From-SVN: r185442
Diffstat (limited to 'gcc/fortran/mathbuiltins.def')
-rw-r--r--gcc/fortran/mathbuiltins.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/mathbuiltins.def b/gcc/fortran/mathbuiltins.def
index b0bcc1f..b399856 100644
--- a/gcc/fortran/mathbuiltins.def
+++ b/gcc/fortran/mathbuiltins.def
@@ -64,6 +64,7 @@ OTHER_BUILTIN (FMOD, "fmod", 2, true)
OTHER_BUILTIN (FREXP, "frexp", frexp, false)
OTHER_BUILTIN (LLROUND, "llround", llround, true)
OTHER_BUILTIN (LROUND, "lround", lround, true)
+OTHER_BUILTIN (IROUND, "iround", iround, true)
OTHER_BUILTIN (NEXTAFTER, "nextafter", 2, true)
OTHER_BUILTIN (POW, "pow", 1, true)
OTHER_BUILTIN (ROUND, "round", 1, true)