S/390: Add missing fallthrough comments.
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. From-SVN: r240495
This commit is contained in:
parent
c1c6ca6300
commit
1d92cba91b
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-09-26 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||
|
||||
* config/s390/s390.c (s390_rtx_costs): Add /* fallthrough */.
|
||||
(s390_sched_score): Likewise.
|
||||
|
||||
2016-09-26 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* doc/gcov.texi: Update program output of gcov tool.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue