unused argument better. Add gcc_unreachable to silence warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265986
138bc75d-0d04-0410-961f-
82ee72b054a4
+2018-11-09 Jeff Law <law@redhat.com>
+
+ * config/mips/mips.c (mips_loongson_ext2_prefetch_cookie): Handle
+ unused argument better. Add gcc_unreachable to silence warning.
+
2018-11-09 Martin Sebor <msebor@redhat.com>
PR middle-end/81824
(prefetch for store), other hint just scale to hint = 0 and hint = 1. */
rtx
-mips_loongson_ext2_prefetch_cookie (rtx write, rtx locality)
+mips_loongson_ext2_prefetch_cookie (rtx write, rtx)
{
/* store. */
if (INTVAL (write) == 1)
/* load. */
if (INTVAL (write) == 0)
return GEN_INT (INTVAL (write));
+
+ gcc_unreachable ();
}
\f