gcc/libgfortran
Janne Blomqvist 1b0b9fcb92 PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix
2015-09-02  Janne Blomqvist  <jb@gcc.gnu.org>

	PR libfortran/67414
	* io/write.c (gfc_itoa): Move to runtime/string.c.
	* libgfortran.h (show_backtrace): Make arg bool.
	(gfc_itoa): New prototype.
	* runtime/backtrace.c (struct mystate): Change type of try_simple
	field, add in_signal_handler field.
	(error_callback): Print out error number, or if not in a signal
	handler, the error message.
	(show_backtrace): Change type of arg, change initialization of
	struct mystate.
	(backtrace): Call show_backtrace with correct arg type.
	* runtime/compile_options.c (backtrace_handler): Call with correct
	arg type.
	* runtime/error.c (sys_abort): Likewise.
	(gf_strerror): Handle newlocale() failure.
	* runtime/string.c (gfc_itoa): Function moved here from
	io/write.c.

From-SVN: r227404
2015-09-02 17:51:40 +03:00
..
caf libgfortran LIBGFOR_MINIMAL enhancements. 2015-03-11 22:42:56 +01:00
config * config/fpu-387.h: Remove unwanted whitespace. 2015-08-04 11:24:15 +02:00
generated re PR fortran/29600 ([F03] MINLOC and MAXLOC take an optional KIND argument) 2015-08-26 12:37:42 +00:00
ieee re PR fortran/64022 ([F2003][IEEE] ieee_support_flag does not handle kind=10 and kind=16 REAL variables) 2015-08-04 07:27:19 +00:00
intrinsics re PR fortran/47571 (undefined reference to clock_gettime in Linux build of 02/01/2011) 2015-08-31 10:37:30 +00:00
io PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
m4 re PR fortran/29600 ([F03] MINLOC and MAXLOC take an optional KIND argument) 2015-08-26 12:37:42 +00:00
runtime PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
ChangeLog PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2013 Rotate ChangeLog for 2013. 2014-06-17 06:55:59 +03:00
ChangeLog-2014 single.c (_gfortran_caf_co_reduce): New function. 2015-01-02 18:42:52 +01:00
Makefile.am re PR fortran/29600 ([F03] MINLOC and MAXLOC take an optional KIND argument) 2015-08-26 12:37:42 +00:00
Makefile.in re PR fortran/29600 ([F03] MINLOC and MAXLOC take an optional KIND argument) 2015-08-26 12:37:42 +00:00
acinclude.m4 re PR fortran/47571 (undefined reference to clock_gettime in Linux build of 02/01/2011) 2015-08-31 14:02:43 +00:00
aclocal.m4 re PR libfortran/54572 (Use libbacktrace library) 2015-08-23 21:50:30 +00:00
c99_protos.h Update copyright years. 2015-01-05 13:33:28 +01:00
config.h.in re PR fortran/47571 (undefined reference to clock_gettime in Linux build of 02/01/2011) 2015-08-31 14:02:43 +00:00
configure re PR fortran/47571 (undefined reference to clock_gettime in Linux build of 02/01/2011) 2015-08-31 14:02:43 +00:00
configure.ac re PR fortran/47571 (undefined reference to clock_gettime in Linux build of 02/01/2011) 2015-08-31 14:02:43 +00:00
configure.host configure.host (ieee_flags): Add -mieee for alpha*. 2014-07-02 10:45:08 +02:00
gfortran.map re PR fortran/29600 ([F03] MINLOC and MAXLOC take an optional KIND argument) 2015-08-26 12:37:42 +00:00
kinds-override.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgfortran.h PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
libgfortran.spec.in
libtool-version
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh