diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-07-07 06:01:16 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-07-07 19:11:03 -0700 |
commit | b25644028cf67a35cc4e504564b22943fb4ccc30 (patch) | |
tree | b071ef73cb940d5762220c1a74741f23f09fc440 /gcc/c-tree.h | |
parent | e664d5712d39545fd9e39f162733d49b69315d56 (diff) | |
download | gcc-hjl/pr81313/gcc-6-branch.tar.gz |
i386: Avoid stack realignment if possiblehjl/pr81313/gcc-6-branch
Since DRAP isn't used with -maccumulate-outgoing-args, pr59501-4a.c was
xfailed due to stack frame access via frame pointer instead of DARP.
This patch finds the maximum stack alignment from the stack frame access
instructions and avoids stack realignment if stack alignment needed is
less than incoming stack boundary.
gcc/
PR target/59501
* config/i386/i386.c (ix86_finalize_stack_realign_flags): Don't
realign stack if stack alignment needed is less than incoming
stack boundary.
gcc/testsuite/
PR target/59501
* gcc.target/i386/pr59501-4a.c: Remove xfail.
Diffstat (limited to 'gcc/c-tree.h')
0 files changed, 0 insertions, 0 deletions