diff options
author | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2016-10-05 12:36:48 +0000 |
---|---|---|
committer | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2016-10-05 12:36:48 +0000 |
commit | 67ef83c61f1aa1c7df70912076333eec6e0666c8 (patch) | |
tree | 26a88f812978ccfd4d4682760ccb02a47b41ba42 /libcpp/lex.c | |
parent | 71dea1dd60888030f3130f16933becdf597538ab (diff) | |
download | gcc-67ef83c61f1aa1c7df70912076333eec6e0666c8.zip gcc-67ef83c61f1aa1c7df70912076333eec6e0666c8.tar.gz gcc-67ef83c61f1aa1c7df70912076333eec6e0666c8.tar.bz2 |
re PR target/77847 (PowerPC big endian power7/power8 do not bootstrap due to fall through error)
libcpp/ChangeLog:
2016-10-04 Kelvin Nilsen <kelvin@gcc.gnu.org>
PR target/77847
* lex.c (search_line_fast): Add a FALLTHROUGH comment to correct
compiler error in the version of this function that is
conditionally compiled when GCC_VERSION >= 4005 and both
__ALTIVEC__ and __BIG_ENDIAN__ symbols are defined.
From-SVN: r240783
Diffstat (limited to 'libcpp/lex.c')
-rw-r--r-- | libcpp/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpp/lex.c b/libcpp/lex.c index 0c47e29..6d2e596 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -733,6 +733,7 @@ search_line_fast (const uchar *s, const uchar *end ATTRIBUTE_UNUSED) if (l != 0) break; s += sizeof(unsigned long); + /* FALLTHROUGH */ case 2: l = u.l[i++]; if (l != 0) |