gcc/libgfortran
Steven G. Kargl cc6d3bde5a re PR fortran/15441 (RRSPACING broken for denormals)
2006-10-06  Steven G. Kargl  <kargl@gcc.gnu.org>
 
	* gfortran.h: Define GFC_MPFR_TOO_OLD via mpfr version info.
	* arith.c (arctangent, gfc_check_real_range): Use it.	
	* simplify.c (gfc_simplify_atan2, gfc_simplify_exponent,
	gfc_simplify_log, gfc_simplify_nearest): Use it.

	PR fortran/15441
	PR fortran/29312
	* iresolve.c (gfc_resolve_rrspacing): Give rrspacing library
	routine hidden precision argument.
	(gfc_resolve_spacing): Give spacing library routine hidden
	precision, emin - 1, and tiny(x) arguments.
	* simplify.c (gfc_simplify_nearest): Remove explicit subnormalization.
	(gfc_simplify_rrspacing): Implement formula from Fortran 95 standard.
	(gfc_simplify_spacing): Implement formula from Fortran 2003 standard.
	* trans-intrinsic.c (gfc_intrinsic_map_t) Declare rrspacing and
	spacing via LIBF_FUNCTION
	(prepare_arg_info, call_builtin_clz, gfc_conv_intrinsic_spacing,
	gfc_conv_intrinsic_rrspacing): Remove functions.
	(gfc_conv_intrinsic_function): Remove calls to
	gfc_conv_intrinsic_spacing and gfc_conv_intrinsic_rrspacing.
	* f95-lang.c (gfc_init_builtin_functions): Remove __builtin_clz,
	__builtin_clzl and __builtin_clzll


2006-10-06  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/15441
	PR fortran/29312
	* configure.ac: Add HAVE_LDEXPF, HAVE_LDEXP, and HAVE_LDEXPL
	* m4/spacing.m4: New file.  Use new HAVE_* defines.
	* m4/rrspacing.m4: Ditto.
	* Makefile.am: Handle new files.
	* configure: Regenerated.
	* Makefile.in: Ditto.
	* config.h.in: Ditto.
	* generated/spacing_r4.c: Generated.
	* generated/spacing_r8.c: Ditto.
	* generated/spacing_r10.c: Ditto.
	* generated/spacing_r16.c: Ditto.
	* generated/rrspacing_r4.c: Ditto.
	* generated/rrspacing_r8.c: Ditto.
	* generated/rrspacing_r10.c: Ditto.
	* generated/rrspacing_r16.c: Ditto.

From-SVN: r117584
2006-10-09 20:55:29 +00:00
..
config fpu-387.h: Use previously added SSE code in all cases, as it really is the right thing to do. 2006-04-01 21:24:24 +00:00
generated re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +00:00
intrinsics hyper.c: Remove file. 2006-10-08 18:39:18 +00:00
io re PR libfortran/27964 (Wrong line ends on windows (XP)) 2006-09-23 01:56:55 +00:00
m4 re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +00:00
runtime re PR libfortran/28452 (__gfortran_random_r10 not found) 2006-08-01 17:15:04 +00:00
acinclude.m4 acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test. 2006-10-06 08:21:22 +00:00
aclocal.m4 Makefile.in: Regenerate using automake 1.9.6. 2006-08-02 20:05:23 +00:00
c99_protos.h c99_protos.h: Correctly protect definitions of prototypes for asinhf... 2006-10-08 17:16:38 +00:00
ChangeLog re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +00:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2005 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
config.h.in re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +00:00
configure re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +00:00
configure.ac re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +00:00
configure.host acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
libgfortran.h * libgfortran.h: Add prototype for internal_unpack_c16. 2006-10-01 07:54:09 +00:00
libtool-version etime.c: Remove etime_ 2006-07-15 16:12:15 +00:00
Makefile.am re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +00:00
Makefile.in re PR fortran/15441 (RRSPACING broken for denormals) 2006-10-09 20:55:29 +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