diff options
author | Richard Guenther <rguenther@suse.de> | 2010-04-13 12:23:17 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-04-13 12:23:17 +0000 |
commit | 54c5ec4fbf4139a627be486b0416a7f636b104f8 (patch) | |
tree | 1f3812aebda37c8770902d0a2900a2aef8d6373a /gcc/builtins.c | |
parent | 9d7b53ccae3ba7f185e7df6319abf9c2aca86750 (diff) | |
download | gcc-54c5ec4fbf4139a627be486b0416a7f636b104f8.tar.gz |
re PR bootstrap/43737 (Bootstrap broken at -O3)
2010-04-13 Richard Guenther <rguenther@suse.de>
PR bootstrap/43737
* builtins.c (c_readstr): Fix assert.
From-SVN: r158264
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 7787f695ac8..65a1dbd5882 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -560,7 +560,7 @@ c_readstr (const char *str, enum machine_mode mode) && GET_MODE_SIZE (mode) > UNITS_PER_WORD) j = j + UNITS_PER_WORD - 2 * (j % UNITS_PER_WORD) - 1; j *= BITS_PER_UNIT; - gcc_assert (j <= 2 * HOST_BITS_PER_WIDE_INT); + gcc_assert (j < 2 * HOST_BITS_PER_WIDE_INT); if (ch) ch = (unsigned char) str[i]; |