Fix more fall through comments

Marek Polacek polacek@redhat.com
Tue Sep 27 13:54:00 GMT 2016


More fall through comments.

Applying to trunk.

2016-09-27  Marek Polacek  <polacek@redhat.com>

	* config/c6x/c6x.h: Adjust fall through comment.
	* config/sh/sh.c (final_prescan_insn): Likewise.
	* config/visium/visium.c (visium_expand_int_cstore): Likewise.
	(visium_expand_fp_cstore): Likewise.

diff --git gcc/config/c6x/c6x.h gcc/config/c6x/c6x.h
index 3209bf6..fe173ab 100644
--- gcc/config/c6x/c6x.h
+++ gcc/config/c6x/c6x.h
@@ -92,14 +92,14 @@ extern c6x_cpu_t c6x_arch;
 						\
 	case C6X_CPU_C64XP:			\
 	  builtin_define ("_TMS320C6400_PLUS");	\
-	  /* ... fall through ... */		\
+	  /* fall through */			\
 	case C6X_CPU_C64X:			\
 	  builtin_define ("_TMS320C6400");	\
 	  break;				\
 						\
 	case C6X_CPU_C67XP:			\
 	  builtin_define ("_TMS320C6700_PLUS");	\
-	  /* ... fall through ... */		\
+	  /* fall through */			\
 	case C6X_CPU_C67X:			\
 	  builtin_define ("_TMS320C6700");	\
 	  break;				\
diff --git gcc/config/sh/sh.c gcc/config/sh/sh.c
index bfa248d..c593421 100644
--- gcc/config/sh/sh.c
+++ gcc/config/sh/sh.c
@@ -6549,7 +6549,7 @@ final_prescan_insn (rtx_insn *insn, rtx *opvec ATTRIBUTE_UNUSED,
 		    (asm_out_file, "L", CODE_LABEL_NUMBER (XEXP (note, 0)));
 		  break;
 		}
-	      /* else FALLTHROUGH */
+	      /* FALLTHROUGH */
 	    case CALL:
 	      asm_fprintf (asm_out_file, "\t.uses %LL%d\n",
 			   CODE_LABEL_NUMBER (XEXP (note, 0)));
diff --git gcc/config/visium/visium.c gcc/config/visium/visium.c
index af58f99..3ce79f4 100644
--- gcc/config/visium/visium.c
+++ gcc/config/visium/visium.c
@@ -2222,7 +2222,7 @@ visium_expand_int_cstore (rtx *operands, enum machine_mode mode)
       code = reverse_condition (code);
       reverse = true;
 
-      /* ... fall through ...  */
+      /* fall through */
 
     case LTU:
     case GTU:
@@ -2270,7 +2270,7 @@ visium_expand_fp_cstore (rtx *operands,
       code = reverse_condition_maybe_unordered (code);
       reverse = true;
 
-      /* ... fall through ...  */
+      /* fall through */
 
     case LT:
     case GT:

	Marek



More information about the Gcc-patches mailing list