+2015-11-18 Alan Modra <amodra@gmail.com>
+
+ * config/rs6000/rs6000.c (use_toc_relative_ref): Ignore
+ type-limits warning.
+
2015-11-18 Richard Sandiford <richard.sandiford@arm.com>
PR bootstrap/68406
static bool
use_toc_relative_ref (rtx sym, machine_mode mode)
{
+/* Silence complaint that the POWERPC64_TOC_POINTER_ALIGNMENT test
+ is always true. */
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wtype-limits"
return ((constant_pool_expr_p (sym)
&& ASM_OUTPUT_SPECIAL_POOL_ENTRY_P (get_pool_constant (sym),
get_pool_mode (sym)))
|| (TARGET_CMODEL == CMODEL_MEDIUM
&& SYMBOL_REF_LOCAL_P (sym)
&& GET_MODE_SIZE (mode) <= POWERPC64_TOC_POINTER_ALIGNMENT));
+#pragma GCC diagnostic pop
}
/* Our implementation of LEGITIMIZE_RELOAD_ADDRESS. Returns a value to