summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-11 20:44:46 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-11 20:44:46 +0000
commitf0c9e72eaed76a149c4e2b87adf4a8a0c5ab1902 (patch)
tree5ad9cd96eee55b9a06e104696bd1e13e64b07498 /gcc/ChangeLog
parent2849db3a254c48790e82f66b92457f4af1f9c45c (diff)
downloadgcc-f0c9e72eaed76a149c4e2b87adf4a8a0c5ab1902.tar.gz
i386: Align stack frame if argument is passed on stack
When a function call is removed, it may become a leaf function. But if argument may be passed on stack, we need to align the stack frame when there is no tail call. Tested on Linux/i686 and Linux/x86-64. gcc/ PR target/83330 * config/i386/i386.c (ix86_compute_frame_layout): Align stack frame if argument is passed on stack. gcc/testsuite/ PR target/83330 * gcc.target/i386/pr83330.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256555 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e676fec8025..2b939fb10f9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/83330
+ * config/i386/i386.c (ix86_compute_frame_layout): Align stack
+ frame if argument is passed on stack.
+
2018-01-11 Jakub Jelinek <jakub@redhat.com>
PR target/82682