+2018-08-09 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ PR target/84332
+ * config/s390/s390.c (s390_option_override_internal): Reduce the
+ stack-clash-protection-probe-interval param if it would be too big
+ for z900.
+
2018-08-08 Andreas Schwab <schwab@linux-m68k.org>
PR target/46179
else if (opts->x_s390_stack_guard)
error ("-mstack-guard implies use of -mstack-size");
+ /* Our implementation of the stack probe requires the probe interval
+ to be used as displacement in an address operand. The maximum
+ probe interval currently is 64k. This would exceed short
+ displacements. Trim that value down to 4k if that happens. This
+ might result in too many probes being generated only on the
+ oldest supported machine level z900. */
+ if (!DISP_IN_RANGE ((1 << PARAM_VALUE (PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL))))
+ set_param_value ("stack-clash-protection-probe-interval", 12,
+ opts->x_param_values,
+ opts_set->x_param_values);
+
#ifdef TARGET_DEFAULT_LONG_DOUBLE_128
if (!TARGET_LONG_DOUBLE_128_P (opts_set->x_target_flags))
opts->x_target_flags |= MASK_LONG_DOUBLE_128;
+2018-08-09 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ PR target/84332
+ * gcc.target/s390/pr84332.c: New testcase.
+
2018-08-08 Andreas Schwab <schwab@linux-m68k.org>
PR target/46179