public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/61847] bug in gfortran runtime: digits cut off when reading floating point number Date: Mon, 10 Nov 2014 00:18:00 -0000 [thread overview] Message-ID: <bug-61847-4-0ejhwS2rcp@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61847-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61847 --- Comment #24 from Janne Blomqvist <jb at gcc dot gnu.org> --- Author: jb Date: Mon Nov 10 00:17:16 2014 New Revision: 217273 URL: https://gcc.gnu.org/viewcvs?rev=217273&root=gcc&view=rev Log: PR 47007 and 61847 Locale failures in libgfortran. 2014-11-10 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/47007 PR libfortran/61847 * config.h.in: Regenerated. * configure: Regenerated. * configure.ac (AC_CHECK_HEADERS_ONCE): Check for xlocale.h. (AC_CHECK_FUNCS_ONCE): Check for newlocale, freelocale, uselocale, strerror_l. * io/io.h (locale.h): Include. (xlocale.h): Include if present. (c_locale): New variable. (old_locale): New variable. (old_locale_ctr): New variable. (old_locale_lock): New variable. (st_parameter_dt): Add old_locale member. * io/transfer.c (data_transfer_init): Set locale to "C" if doing formatted transfer. (finalize_transfer): Reset locale to previous. * io/unit.c (c_locale): New variable. (old_locale): New variable. (old_locale_ctr): New variable. (old_locale_lock): New variable. (init_units): Init c_locale, init old_locale_lock. (close_units): Free c_locale. * runtime/error.c (locale.h): Include. (xlocale.h): Include if present. (gf_strerror): Use strerror_l if available. Reset locale to LC_GLOBAL_LOCALE for strerror_r branch. 2014-11-10 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/47007 PR libfortran/61847 * gfortran.texi: Add note about locale issues to thread-safety section. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/gfortran.texi trunk/libgfortran/ChangeLog trunk/libgfortran/config.h.in trunk/libgfortran/configure trunk/libgfortran/configure.ac trunk/libgfortran/io/io.h trunk/libgfortran/io/transfer.c trunk/libgfortran/io/unit.c trunk/libgfortran/runtime/error.c
next prev parent reply other threads:[~2014-11-10 0:18 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-61847-4@http.gcc.gnu.org/bugzilla/> 2014-07-19 6:19 ` [Bug fortran/61847] bug in gfortran runtime on OSX: " jvdelisle at gcc dot gnu.org 2014-07-21 15:41 ` e2cd58e1 at opayq dot com 2014-07-21 17:50 ` kargl at gcc dot gnu.org 2014-07-21 17:55 ` e2cd58e1 at opayq dot com 2014-07-21 17:58 ` kargl at gcc dot gnu.org 2014-07-21 18:18 ` e2cd58e1 at opayq dot com 2014-07-21 18:26 ` sgk at troutmask dot apl.washington.edu 2014-07-21 18:33 ` e2cd58e1 at opayq dot com 2014-07-21 19:50 ` [Bug fortran/61847] bug in gfortran runtime: " dominiq at lps dot ens.fr 2014-07-22 1:40 ` jvdelisle at gcc dot gnu.org 2014-07-22 2:07 ` e2cd58e1 at opayq dot com 2014-07-22 3:29 ` jvdelisle at gcc dot gnu.org 2014-07-22 4:28 ` jvdelisle at gcc dot gnu.org 2014-07-22 4:46 ` sgk at troutmask dot apl.washington.edu 2014-07-25 22:04 ` jvdelisle at gcc dot gnu.org 2014-08-02 21:12 ` jvdelisle at gcc dot gnu.org 2014-08-19 20:50 ` jb at gcc dot gnu.org 2014-11-03 11:02 ` burnus at gcc dot gnu.org 2014-11-04 12:35 ` jb at gcc dot gnu.org 2014-11-05 10:51 ` jb at gcc dot gnu.org 2014-11-10 0:18 ` jb at gcc dot gnu.org [this message] 2014-11-10 0:21 ` jb at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-61847-4-0ejhwS2rcp@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).