[ping] Enable -mstackrealign with SSE on 32-bit Windows

Richard Biener richard.guenther@gmail.com
Mon Feb 22 14:08:00 GMT 2016


On Fri, Feb 19, 2016 at 7:50 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Not sure - why doesn't mingw properly specify the default incoming
>> stack boundary?
>> If it does, why isn't there an issue elsewhere even on non-mingw if you use
>> -mincoming-stack-boundary=2?
>
> Wouldn't that pessimize over -mstackrealign?  That's my reading of the manual.
> Note that the issue is present on Solaris 9 and was fixed this way.

No idea.  To me it sounds that -mincoming-stack-boundary=2 would allow to do
-mstackrealign in those functions where it is necessary rather than in all.

If it was fixed for Solaris 9 that way I suppose it's ok for 32-bit
Windows as well.

So consider the patch approved,

Thanks,
Richard.

> --
> Eric Botcazou



More information about the Gcc-patches mailing list