From: Jeff Law Date: Mon, 13 Mar 2017 17:49:40 +0000 (-0600) Subject: riscv.c (riscv_emit_float_compare): Use fallthru attribute rather than comments. X-Git-Tag: upstream/12.2.0~40718 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dce15db61bc8c2dc7a7e1f901903fa966077fa3e;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 124dca3..e863cdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2017-03-13 Jeff Law + * 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. diff --git a/gcc/config/riscv/riscv.c b/gcc/config/riscv/riscv.c index 89567f7..e5044ba 100644 --- a/gcc/config/riscv/riscv.c +++ b/gcc/config/riscv/riscv.c @@ -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