riscv.c (riscv_emit_float_compare): Use fallthru attribute rather than comments.

* config/riscv/riscv.c (riscv_emit_float_compare): Use fallthru
        attribute rather than comments.

From-SVN: r246101
This commit is contained in:
Jeff Law 2017-03-13 11:49:40 -06:00 committed by Jeff Law
parent 097de8ffcb
commit dce15db61b
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2017-03-13 Jeff Law <law@redhat.com>
* config/riscv/riscv.c (riscv_emit_float_compare): Use fallthru
attribute rather than comments.
* config/pdp11/pdp11.md (movmemhi): Adjust operand numbers to
match_scratch operand is highest.

View file

@ -2089,13 +2089,13 @@ riscv_emit_float_compare (enum rtx_code *code, rtx *op0, rtx *op1)
case UNLT:
std::swap (cmp_op0, cmp_op1);
/* Fall through. */
__attribute__((fallthrough));
UNORDERED_COMPARISON(UNGT, le)
case UNLE:
std::swap (cmp_op0, cmp_op1);
/* Fall through. */
__attribute__((fallthrough));
UNORDERED_COMPARISON(UNGE, lt)
#undef UNORDERED_COMPARISON