From 1d92cba91be69be5d1baaca46b834d6b8d780acd Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Mon, 26 Sep 2016 14:17:17 +0000 Subject: [PATCH] S/390: Add missing fallthrough comments. gcc/ChangeLog: 2016-09-26 Andreas Krebbel * config/s390/s390.c (s390_rtx_costs): Add /* fallthrough */. (s390_sched_score): Likewise. From-SVN: r240495 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59218b8ec57..bdebe60f828 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-09-26 Andreas Krebbel + + * config/s390/s390.c (s390_rtx_costs): Add /* fallthrough */. + (s390_sched_score): Likewise. + 2016-09-26 Martin Liska * doc/gcov.texi: Update program output of gcov tool. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 0b0e3600c66..3bdb64871af 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.30.2