diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-22 14:50:26 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-22 14:50:26 -0500 |
commit | 0dacd7a3b9401f7eb7160cf79231a4573773c5da (patch) | |
tree | 892983bc4ed9757a26a8c0217671ef6dfea94c0c /math | |
parent | 929011700ce09f2bb4f6f650ae95b6eb68145deb (diff) | |
download | glibc-0dacd7a3b9401f7eb7160cf79231a4573773c5da.tar glibc-0dacd7a3b9401f7eb7160cf79231a4573773c5da.tar.gz glibc-0dacd7a3b9401f7eb7160cf79231a4573773c5da.tar.bz2 glibc-0dacd7a3b9401f7eb7160cf79231a4573773c5da.zip |
tilegx: remove implicit boolean conversion in strstr.
[BZ #17746]
The __builtin_expect() truncated a uint64_t to a 32-bit long
in ILP32 mode, discarding the high 32 bits, and potentially
missing the NUL terminator that we were searching for with SIMD
operations. Explicitly compare to zero to fix the problem.
Diffstat (limited to 'math')
0 files changed, 0 insertions, 0 deletions