https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102836
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Rainer Orth from comment #0) > It turns out that this happens because 32-bit Solaris/x86 only guarantees > 4-byte stack alignment following the i386 psABI, so defaults to > -mstackrealign. > > Adding -mno-stackrealign to one test lets the output match what I get on > Linux/x86. I suspect that's the best option? Yes, I agree.