gcc/libgfortran
François-Xavier Coudert 944b8b35a9 gfortran.h: Add bitmasks for different FPE traps.
* gfortran.h: Add bitmasks for different FPE traps. Add fpe
	member to options_t.
	* invoke.texi: Document the new -ffpe-trap option.
	* lang.opt: Add -ffpe-trap option.
	* options.c (gfc_init_options): Initialize the FPE option.
	(gfc_handle_fpe_trap_option): New function to parse the argument
	of the -ffpe-trap option.
	(gfc_handle_option): Add case for -ffpe-trap.
	* trans-decl.c: Declare a tree for the set_fpe library function.
	(gfc_build_builtin_function_decls): Build this tree.
	(gfc_generate_function_code): Generate a call to set_fpe at
	the beginning of the main program.
	* trans.h: New tree for the set_fpe library function.

	* Makefile.am: Add fpu.c to the build process, and
	target-dependent code as fpu-target.h.
	* Makefile.in: Regenerate.
	* configure.ac: Add call to configure.host to set
	FPU_HOST_HEADER.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* aclocal.m4: Regenerate.
	* configure.host: New script to determine which host-dependent
	code should go in.
	* libgfortran.h: Add fpe option, remove previous fpu_ options.
	Add bitmasks for different FPE traps. Add prototype for set_fpu.
	* runtime/environ.c: Remove environment variables to control
	fpu behaviour.
	* runtime/fpu.c (set_fpe): New function for the front-end.
	* runtime/main.c (init): Set FPU state.
	* config: New directory to store host-dependent code.
	* config/fpu-387.h: New file with code handling the i387 FPU.
	* config/fpu-glibc.h: New file with code for glibc systems.
	* config/fpu-generic.h: Fallback for the most generic host. Issue
	warnings.

From-SVN: r105328
2005-10-12 20:21:31 +00:00
..
config gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
generated re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
intrinsics re PR libfortran/24313 (complex sqrt function does not return principal value) 2005-10-11 23:35:27 +00:00
io unix.c: Remove parts of patch of 2005/10/07 that cause input from the terminal to hang. 2005-10-12 19:54:59 +00:00
m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
runtime gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
.cvsignore ignore autom4te.cache 2004-08-23 23:51:56 +00:00
acinclude.m4 re PR target/23552 (FAIL: gfortran.dg/large_real_kind_1.f90) 2005-09-27 21:12:52 +00:00
aclocal.m4 c99_protos.h: Add prototypes for C99 complex functions. 2005-09-25 21:39:58 +00:00
c99_protos.h c99_protos.h: Add prototypes for C99 complex functions. 2005-09-25 21:39:58 +00:00
ChangeLog gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
config.h.in gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
configure gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
configure.ac gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
configure.host gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
fmain.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
libgfortran.h gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
libtool-version libtool-version: New. 2004-07-04 09:06:54 +00:00
Makefile.am gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
Makefile.in gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
mk-kinds-h.sh re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
mk-sik-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
mk-srk-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00