This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/23744] New: regex refactorings to remove BE, avoid duplication
- From: "eggert at cs dot ucla.edu" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 07 Oct 2018 22:39:13 +0000
- Subject: [Bug regex/23744] New: regex refactorings to remove BE, avoid duplication
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23744
Bug ID: 23744
Summary: regex refactorings to remove BE, avoid duplication
Product: glibc
Version: 2.28
Status: NEW
Severity: minor
Priority: P2
Component: regex
Assignee: unassigned at sourceware dot org
Reporter: eggert at cs dot ucla.edu
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Created attachment 11294
--> https://sourceware.org/bugzilla/attachment.cgi?id=11294&action=edit
Replace BE/__builtin_expect with __glibc_likely and __glibc_unlikely
I'll attach two patches that do not change regex behavior, just make it easier
to maintain. The first replaces uses of the BE macro (short for
__builtin_expect) with the current style __glibc_likely and __glibc_unlikely.
The second avoids code duplication with intprops.h.
--
You are receiving this mail because:
You are on the CC list for the bug.