1# With -Os we default to -mpreferred-stack-boundary=2, which is not
2# enough for proper operation with V4SImode when the architecture
3# default enables SSE.  Arguably setting -mpreferred-stack-boundary=2
4# under this condition is incorrect.  Finding the correct set of
5# options such that we don't exchange a FAIL for an XPASS is hard;
6# simply force the stack boundary we need and forget about it for now.
7
8if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } {
9	set additional_flags "-mpreferred-stack-boundary=4"
10}
11
12return 0
13