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));
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246116
138bc75d-0d04-0410-961f-
82ee72b054a4
+2017-03-13 Kito Cheng <kito.cheng@gmail.com>
+
+ * config/riscv/riscv.c (riscv_emit_float_compare>: Use
+ gcc_fallthrough() instead of __attribute__((fallthrough));
+
2017-03-13 Gerald Pfeifer <gerald@pfeifer.com>
* doc/gcc.texi: Remove "up" link to (DIR).
case UNLT:
std::swap (cmp_op0, cmp_op1);
- __attribute__((fallthrough));
+ gcc_fallthrough ();
UNORDERED_COMPARISON(UNGT, le)
case UNLE:
std::swap (cmp_op0, cmp_op1);
- __attribute__((fallthrough));
+ gcc_fallthrough ();
UNORDERED_COMPARISON(UNGE, lt)
#undef UNORDERED_COMPARISON