[Committed] S/390: Add missing fallthrough comments.

Andreas Krebbel krebbel@linux.vnet.ibm.com
Mon Sep 26 14:35:00 GMT 2016


gcc/ChangeLog:

2016-09-26  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/s390.c (s390_rtx_costs): Add /* fallthrough */.
	(s390_sched_score): Likewise.
---
 gcc/config/s390/s390.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 0b0e360..3bdb648 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -3467,6 +3467,7 @@ s390_rtx_costs (rtx x, machine_mode mode, int outer_code,
 	  *total = COSTS_N_INSNS (2);
 	  return true;
 	}
+      /* fallthrough */
     case ASHIFT:
     case ASHIFTRT:
     case LSHIFTRT:
@@ -13855,6 +13856,7 @@ s390_sched_score (rtx_insn *insn)
 	score += 5;
       if ((mask & S390_SCHED_ATTR_MASK_GROUPALONE) != 0)
 	score += 10;
+      /* fallthrough */
     case 1:
       /* Prefer not cracked insns while trying to put together a
 	 group.  */
-- 
2.9.1



More information about the Gcc-patches mailing list