+2015-07-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/53383
+ * config/i386/i386.c (ix86_option_override_internal): Allow
+ -mincoming-stack-boundary=3 for 64-bit if SSE is disabled.
+
2015-07-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* read-md.c (decimal_string): Rename to ...
ix86_incoming_stack_boundary = ix86_default_incoming_stack_boundary;
if (opts_set->x_ix86_incoming_stack_boundary_arg)
{
- if (opts->x_ix86_incoming_stack_boundary_arg
- < (TARGET_64BIT_P (opts->x_ix86_isa_flags) ? 4 : 2)
+ int min = (TARGET_64BIT_P (opts->x_ix86_isa_flags)
+ ? (TARGET_SSE_P (opts->x_ix86_isa_flags) ? 4 : 3) : 2);
+
+ if (opts->x_ix86_incoming_stack_boundary_arg < min
|| opts->x_ix86_incoming_stack_boundary_arg > 12)
error ("-mincoming-stack-boundary=%d is not between %d and 12",
- opts->x_ix86_incoming_stack_boundary_arg,
- TARGET_64BIT_P (opts->x_ix86_isa_flags) ? 4 : 2);
+ opts->x_ix86_incoming_stack_boundary_arg, min);
else
{
ix86_user_incoming_stack_boundary
+2015-07-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/53383
+ * gcc.target/i386/pr53383-1.c: New file.
+ * gcc.target/i386/pr53383-2.c: Likewise.
+ * gcc.target/i386/pr53383-3.c: Likewise.
+
2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
* gcc.target/aarch64/fnmul-1.c: New.