]> git.ipfire.org Git - thirdparty/glibc.git/commit
Port the 0x7efe...feff pattern to GCC 6.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Jul 2015 05:50:29 +0000 (22:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Aug 2015 17:00:57 +0000 (10:00 -0700)
commit5542236837c5c41435f8282ec92799f480c36f18
tree9379c73ad00dc1ffea986464bbf96634f3a7fd5f
parent1814df5b02b9c359052c2048a1d2d617b406a17a
Port the 0x7efe...feff pattern to GCC 6.

See Steve Ellcey's bug report in:
https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
* string/memrchr.c (MEMRCHR):
* string/rawmemchr.c (RAWMEMCHR):
* string/strchr.c (strchr):
* string/strchrnul.c (STRCHRNUL):
Rewrite code to avoid issues with signed shift overflow.
ChangeLog
string/memrchr.c
string/rawmemchr.c
string/strchr.c
string/strchrnul.c