summaryrefslogtreecommitdiff
path: root/m4/builtin-expect.m4
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2018-01-011-1/+1
|
* version-etc: new yearPaul Eggert2017-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* builtin-expect: improve port to IBM XL CPaul Eggert2016-12-161-4/+18
| | | | | | | Problem reported for z/OS by Daniel Richard G. in: http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00079.html * m4/builtin-expect.m4 (gl___BUILTIN_EXPECT): Test for <builtins.h> directly.
* builtin-expect: port to IBM XL CPaul Eggert2016-12-161-2/+3
| | | | | | | Problem reported for z/OS by Daniel Richard G. in: http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00074.html * m4/builtin-expect.m4 (gl___BUILTIN_EXPECT): Also allow __builtin_expect defined via a standard include file.
* builtin-expect: new modulePaul Eggert2016-12-161-0/+34
Fix fnmatch to use it. Problem reported for z/OS by Daniel Richard G. * lib/fnmatch.c (__builtin_expect): * lib/glob.c (__builtin_expect): * lib/grantpt.c (__builtin_expect) [!_LIBC]: * lib/memmem.c (__builtin_expect) [!_LIBC]: * lib/scandir.c (__builtin_expect): * lib/strstr.c (__builtin_expect) [!_LIBC]: Remove macro; config.h now does this. * lib/gl_anytreehash_list1.h (add_to_bucket): * lib/regex_internal.h (BE): Assume __builtin_expect. * m4/builtin-expect.m4, modules/builtin-expect: New files. * modules/avltreehash-list, modules/fnmatch, modules/glob: * modules/grantpt, modules/memmem-simple, modules/rbtreehash-list: * modules/scandir, modules/strstr-simple: Depend on builtin-expect.