Currently on trunk the option -mpreferred-stack-boundary does not work
together with #pragma GCC target("sse") or __attribute__((target("sse"))).

There is already a test case that detects this: 
gcc.target/i386/fastcall-sseregparm.c

The attached patch fixes this test case under i686-pc-linux-gnu.

Boot-strapped and regression-tested under i686-pc-linux-gnu.

OK for trunk?

Regards
Bernd.                                    
2013-11-10  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        PR target/58964
        * config/i386/i386.c (ix86_valid_target_attribute_p): Set
        func_options.x_ix86_preferred_stack_boundary_arg.

Attachment: patch-pr58964.diff
Description: Binary data

Reply via email to