single.c (_gfortran_caf_is_present): Prevent fallthrough warnings.
authorAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 30 Nov 2016 14:34:13 +0000 (15:34 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 30 Nov 2016 14:34:13 +0000 (15:34 +0100)
libgfortran/ChangeLog:

2016-11-30  Andre Vehreschild  <vehre@gcc.gnu.org>

* caf/single.c (_gfortran_caf_is_present): Prevent fallthrough
warnings.

From-SVN: r243024

libgfortran/caf/single.c

index 5e2932ca007eca41da135bde997206400973e1d9..3eceed90087593d4bf000ca12b480cf16e74a3a5 100644 (file)
@@ -2949,6 +2949,7 @@ _gfortran_caf_is_present (caf_token_t token,
                  if (riter->next == NULL)
                    break;
                  /* else fall through reporting an error.  */
+                 /* FALLTHROUGH */
                case CAF_ARR_REF_VECTOR:
                case CAF_ARR_REF_RANGE:
                case CAF_ARR_REF_OPEN_END:
@@ -2976,6 +2977,7 @@ _gfortran_caf_is_present (caf_token_t token,
                  if (riter->next == NULL)
                    break;
                  /* else fall through reporting an error.  */
+                 /* FALLTHROUGH */
                case CAF_ARR_REF_VECTOR:
                case CAF_ARR_REF_RANGE:
                case CAF_ARR_REF_OPEN_END: