aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2015-09-02 17:51:40 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2015-09-02 17:51:40 +0300
commit1b0b9fcb928042bf30fb2e42247912d226f85513 (patch)
tree10abb98957304dbdbbb310cad62b7d3c654bb167 /gcc
parent710465235b06be5b74b7fda1c8e2092b43d83e01 (diff)
downloadgcc-1b0b9fcb928042bf30fb2e42247912d226f85513.zip
gcc-1b0b9fcb928042bf30fb2e42247912d226f85513.tar.gz
gcc-1b0b9fcb928042bf30fb2e42247912d226f85513.tar.bz2
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
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions