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:
parent
097de8ffcb
commit
dce15db61b
2 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue