https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53383
--- Comment #25 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Katsunori Kumatani from comment #24)
> I think this bug should be reopened because the current behavior is
> restricting.
[...]
I agree. Let's remove this artificial dependency on -msse.
Patch in testing:
--cut here--
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c (revision 246531)
+++ config/i386/i386.c (working copy)
@@ -5927,9 +5927,8 @@ ix86_option_override_internal (bool main_args_p,
ix86_preferred_stack_boundary = PREFERRED_STACK_BOUNDARY_DEFAULT;
if (opts_set->x_ix86_preferred_stack_boundary_arg)
{
- int min = (TARGET_64BIT_P (opts->x_ix86_isa_flags)
- ? (TARGET_SSE_P (opts->x_ix86_isa_flags) ? 4 : 3) : 2);
- int max = (TARGET_SEH ? 4 : 12);
+ int min = TARGET_64BIT_P (opts->x_ix86_isa_flags)? 3 : 2;
+ int max = TARGET_SEH ? 4 : 12;
if (opts->x_ix86_preferred_stack_boundary_arg < min
|| opts->x_ix86_preferred_stack_boundary_arg > max)
--cut here--