diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2015-11-03 20:05:50 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2015-11-03 20:05:50 +0100 |
commit | 49445904cf71ccfeefe01ff4bfa8f98647c8d5f5 (patch) | |
tree | 4144e64f059393820bb109f796c40aea5536220a /libcpp/lex.c | |
parent | c85158dec62c8293382c1d311dd6e71dcbf08e32 (diff) | |
download | gcc-49445904cf71ccfeefe01ff4bfa8f98647c8d5f5.zip gcc-49445904cf71ccfeefe01ff4bfa8f98647c8d5f5.tar.gz gcc-49445904cf71ccfeefe01ff4bfa8f98647c8d5f5.tar.bz2 |
lex.c (search_line_sse42): Correctly advance the pointer to an aligned address.
* lex.c (search_line_sse42): Correctly advance the pointer to an
aligned address.
From-SVN: r229718
Diffstat (limited to 'libcpp/lex.c')
-rw-r--r-- | libcpp/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/lex.c b/libcpp/lex.c index 0aa1090..7e97bc2 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -447,7 +447,7 @@ search_line_sse42 (const uchar *s, const uchar *end) /* Advance the pointer to an aligned address. We will re-scan a few bytes, but we no longer need care for reading past the end of a page, since we're guaranteed a match. */ - s = (const uchar *)((si + 16) & -16); + s = (const uchar *)((si + 15) & -16); } /* Main loop, processing 16 bytes at a time. */ |