PR fortran/48979

	* trans-const.c (gfc_build_nan): New function.
	* trans-const.h (gfc_build_nan): New prototype.
	* trans-intrinsic.c (gfc_conv_intrinsic_exponent): Handle special
	values.
	(gfc_conv_intrinsic_minmaxval): Use gfc_build_nan.
	(gfc_conv_intrinsic_fraction): Handle special values.
	(gfc_conv_intrinsic_spacing): Likewise.
	(gfc_conv_intrinsic_rrspacing): Likewise.
	(gfc_conv_intrinsic_set_exponent): Likewise.

	* gfortran.dg/ieee/intrinsics_2.F90: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216443 138bc75d-0d04-0410-961f-82ee72b054a4
Fix race in libstdc++ testsuite

	* testsuite/lib/libstdc++.exp (v3-copy-file): New proc split from ...
	(v3-copy-files): ... this.  Update.
	(check_v3_target_fileio): Fix race on cin_unget-1.txt file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216444 138bc75d-0d04-0410-961f-82ee72b054a4