This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regex/23744] New: regex refactorings to remove BE, avoid duplication


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]