diff options
Diffstat (limited to 'libgfortran/config/fpu-generic.h')
-rw-r--r-- | libgfortran/config/fpu-generic.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/libgfortran/config/fpu-generic.h b/libgfortran/config/fpu-generic.h index d9be4d99bd..c47e780b80 100644 --- a/libgfortran/config/fpu-generic.h +++ b/libgfortran/config/fpu-generic.h @@ -1,5 +1,5 @@ /* Fallback FPU-related code (for systems not otherwise supported). - Copyright (C) 2005-2014 Free Software Foundation, Inc. + Copyright (C) 2005-2015 Free Software Foundation, Inc. Contributed by Francois-Xavier Coudert <coudert@clipper.ens.fr> This file is part of the GNU Fortran runtime library (libgfortran). @@ -51,6 +51,12 @@ set_fpu (void) "exception not supported.\n"); } +void +set_fpu_trap_exceptions (int trap __attribute__((unused)), + int notrap __attribute__((unused))) +{ +} + int get_fpu_except_flags (void) { @@ -69,3 +75,24 @@ void set_fpu_rounding_mode (int round __attribute__((unused))) { } + + +int +support_fpu_underflow_control (int kind __attribute__((unused))) +{ + return 0; +} + + +int +get_fpu_underflow_mode (void) +{ + return 0; +} + + +void +set_fpu_underflow_mode (int gradual __attribute__((unused))) +{ +} + |