gcc/libgfortran
Szabolcs Nagy 0af3095468 [PR libgfortran/78314] Fix ieee_support_halting
ieee_support_halting only checked the availability of status
flags, not trapping support.  On some targets the later can
only be checked at runtime: feenableexcept reports if
enabling traps failed.

So check trapping support by enabling/disabling it.

Updated the test that enabled trapping to check if it is
supported.

gcc/testsuite/

	PR libgfortran/78314
	* gfortran.dg/ieee/ieee_6.f90: Use ieee_support_halting.

libgfortran/

	PR libgfortran/78314
	* config/fpu-glibc.h (support_fpu_trap): Use feenableexcept.

From-SVN: r242505
2016-11-16 17:27:04 +00:00
..
caf re PR libfortran/77663 (libgfortran/caf/single.c: three minor problems and a lost token) 2016-10-01 16:00:57 +02:00
config [PR libgfortran/78314] Fix ieee_support_halting 2016-11-16 17:27:04 +00:00
generated [multiple changes] 2016-11-15 23:03:00 +00:00
ieee
intrinsics Use rand_s on MinGW-w64, fix array bound overflow. 2016-09-21 13:07:06 +03:00
io Default missing exponents to 0 with -fdec. 2016-11-03 18:09:44 +00:00
m4 [multiple changes] 2016-11-15 23:03:00 +00:00
runtime
acinclude.m4
aclocal.m4
c99_protos.h
ChangeLog [PR libgfortran/78314] Fix ieee_support_halting 2016-11-16 17:27:04 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
config.h.in
configure config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
configure.ac
configure.host
gfortran.map
kinds-override.h
libgfortran.h New I/O specifiers CARRIAGECONTROL, READONLY, SHARE with -fdec. 2016-10-26 12:11:44 +00:00
libgfortran.spec.in
libtool-version re PR libfortran/77828 (Linking gfortran-7 compiled program with libgfortran of 5.x allowed but crashes when containing write to string) 2016-10-24 21:42:29 +00:00
Makefile.am [multiple changes] 2016-11-15 23:03:00 +00:00
Makefile.in [multiple changes] 2016-11-15 23:03:00 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh