re PR target/77847 (PowerPC big endian power7/power8 do not bootstrap due to fall...
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Wed, 5 Oct 2016 12:36:48 +0000 (12:36 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Wed, 5 Oct 2016 12:36:48 +0000 (12:36 +0000)
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

libcpp/ChangeLog
libcpp/lex.c

index 94ea99db8a129ff9c7afadc9c0e5f0fd57987418..96b9047501bfe8c98dafd73a0f74f6942470a3a9 100644 (file)
@@ -1,3 +1,11 @@
+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.
+
 2016-09-26  Marek Polacek  <polacek@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>
 
index 0c47e2980701ace96e576ffdb05cce50e4cd3977..6d2e596e2d407948d1af8a5b7e4f23d79a4a2bcd 100644 (file)
@@ -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)