This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/60645] locale::facet::_S_get_c_locale does not handle __gthread_once error codes.
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Mar 2014 10:08:45 +0000
- Subject: [Bug libstdc++/60645] locale::facet::_S_get_c_locale does not handle __gthread_once error codes.
- Auto-submitted: auto-generated
- References: <bug-60645-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60645
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The only error code specified by POSIX is EINVAL which cannot happen here,
because the pthread_once_t is statically initialized and controlled entirely by
the library.