* Fix more fall through comments
@ 2016-09-27 13:54 Marek Polacek
0 siblings, 0 replies; only message in thread
From: Marek Polacek @ 2016-09-27 13:54 UTC (permalink / raw)
To: GCC Patches
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-27 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27 13:54 Fix more fall through comments Marek Polacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).