From c375ef08bb615293da340e1deb073bda523be3da Mon Sep 17 00:00:00 2001 From: kelvin Date: Wed, 5 Oct 2016 12:36:48 +0000 Subject: [PATCH] libcpp/ChangeLog: 2016-10-04 Kelvin Nilsen 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240783 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/ChangeLog | 8 ++++++++ libcpp/lex.c | 1 + 2 files changed, 9 insertions(+) diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 94ea99db8a1..96b9047501b 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,11 @@ +2016-10-04 Kelvin Nilsen + + 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. + 2016-09-26 Marek Polacek Jakub Jelinek diff --git a/libcpp/lex.c b/libcpp/lex.c index 0c47e298070..6d2e596e2d4 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) -- 2.11.4.GIT