Use gcc_fallthrough() instead of __attribute__((fallthrough)
authorKito Cheng <kito.cheng@gmail.com>
Tue, 14 Mar 2017 03:51:24 +0000 (03:51 +0000)
committerPalmer Dabbelt <palmer@gcc.gnu.org>
Tue, 14 Mar 2017 03:51:24 +0000 (03:51 +0000)
commitcccfcff414eda67a3c89f57401cfad0fa432cfb8
tree0288182102631665c0717dc770439c68eb74d231
parenta7af75b2fa53a4182556f4c94c44819b6eabd1b2
Use gcc_fallthrough() instead of __attribute__((fallthrough)

Without this my build breaks on older compilers like GCC-5.4.

gcc/ChangeLog:

2017-03-13  Kito Cheng  <kito.cheng@gmail.com>

       * config/riscv/riscv.c (riscv_emit_float_compare>: Use
       gcc_fallthrough() instead of __attribute__((fallthrough));

From-SVN: r246116
gcc/ChangeLog
gcc/config/riscv/riscv.c