http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59501

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
>
>   if (ix86_force_drap || !ACCUMULATE_OUTGOING_ARGS)
>     crtl->need_drap = true;

They are needed for -m32.  Otherwise, we got

FAIL: g++.dg/torture/stackalign/eh-fastcall-1.C  -Os -fpic execution test
FAIL: g++.dg/torture/stackalign/eh-global-1.C  -Os -fpic execution test
FAIL: g++.dg/torture/stackalign/eh-inline-1.C  -Os -fpic execution test
FAIL: g++.dg/torture/stackalign/eh-thiscall-1.C  -Os -fpic execution test

Reply via email to