This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/19512] Stale `#ifndef HAVE_BUILTIN_EXPECT' in `intl/{gettextP,loadinfo}.h'
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 22 Feb 2016 22:04:01 +0000
- Subject: [Bug locale/19512] Stale `#ifndef HAVE_BUILTIN_EXPECT' in `intl/{gettextP,loadinfo}.h'
- Auto-submitted: auto-generated
- References: <bug-19512-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19512
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 80fcb5c583b5b241e3796f10a09cbe8e1dd30b5a (commit)
from de6e5df27ead590c7f590a63665cb87764cf6de3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=80fcb5c583b5b241e3796f10a09cbe8e1dd30b5a
commit 80fcb5c583b5b241e3796f10a09cbe8e1dd30b5a
Author: Dmitry V. Levin <ldv@altlinux.org>
Date: Sat Jan 23 23:48:10 2016 +0000
intl: reintroduce unintentionally disabled optimization
HAVE_BUILTIN_EXPECT macro was removed by commit glibc-2.14-280-g3ce1f29,
but then its use was unintentionally reintroduced during merge with GNU
gettext 0.19.3 by commit glibc-2.20-324-g6d24885, effectively disabling
all optimization based on __builtin_expect. As intl files are also part
of GNU gettext, HAVE_BUILTIN_EXPECT macro cannot be removed, so define
it unconditionally in config.h.in instead.
[BZ #19512]
* config.h.in (HAVE_BUILTIN_EXPECT): New macro.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
config.h.in | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.