From fa86f4f91765f138deaa410038fd9b58ec605560 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Mon, 17 Jun 2013 09:48:21 +0200 Subject: gfortran.h (gfc_option_t): Add fpe_summary. 2013-06-17 Tobias Burnus * gfortran.h (gfc_option_t): Add fpe_summary. * gfortran.texi (_gfortran_set_options): Update. * invoke.texi (-ffpe-summary): Add doc. * lang.opt (ffpe-summary): Add flag. * options.c (gfc_init_options, gfc_handle_option): Handle it. (gfc_handle_fpe_option): Renamed from gfc_handle_fpe_trap_option, also handle fpe_summary. * trans-decl.c (create_main_function): Update _gfortran_set_options call. 2013-06-17 Tobias Burnus * libgfortran.h (compile_options_t) Add fpe_summary. (get_fpu_except_flags): New prototype. * runtime/compile_options.c (set_options, init_compile_options): Handle fpe_summary. * runtime/stop.c (report_exception): New function. (stop_numeric, stop_numeric_f08, stop_string, error_stop_string, error_stop_numeric): Call it. * config/fpu-387.h (get_fpu_except_flags): New function. * config/fpu-aix.h (get_fpu_except_flags): New function. * config/fpu-generic.h (get_fpu_except_flags): New function. * config/fpu-glibc.h (get_fpu_except_flags): New function. * config/fpu-glibc.h (get_fpu_except_flags): New function. * configure.ac: Check for fpxcp.h. * configure: Regenerate. * config.h.in: Regenerate. From-SVN: r200147 --- libgfortran/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgfortran/configure.ac') diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 7d97fed1b0b..ba14f1f30b7 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -254,7 +254,7 @@ AC_CHECK_TYPES([ptrdiff_t]) # check header files (we assume C89 is available, so don't check for that) AC_CHECK_HEADERS_ONCE(unistd.h sys/time.h sys/times.h sys/resource.h \ sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h fenv.h fptrap.h \ -pwd.h complex.h) +fpxcp.h pwd.h complex.h) GCC_HEADER_STDINT(gstdint.h) -- cgit v1.2.3