Commit 57bfedaf by H.J. Lu Committed by H.J. Lu

x86: Revert reversion 267133

Revert commit:

commit 76c21b271247ccbd681bdb4530426d2fe35dbfa5
Author: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Dec 14 12:38:04 2018 +0000

    x86: Don't use get_frame_size when finalizing stack frame

gcc/

	PR target/88483
	* config/i386/i386.c (ix86_finalize_stack_frame_flags): Revert
	reversion 267133.

gcc/testsuite/

	PR target/88483
	* gcc.target/i386/stackalign/pr88483.c: Removed.  Revert
	reversion 267133.

From-SVN: r267186
parent ddfb1317
2018-12-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/88483
* config/i386/i386.c (ix86_finalize_stack_frame_flags): Revert
reversion 267133.
2018-12-15 Jan Hubicka <hubicka@ucw.cz>
* ipa-fnsummary.c (analyze_function_body): Do not loeak conds and
......@@ -12879,6 +12879,7 @@ ix86_finalize_stack_frame_flags (void)
&& flag_exceptions
&& cfun->can_throw_non_call_exceptions)
&& !ix86_frame_pointer_required ()
&& get_frame_size () == 0
&& ix86_nsaved_sseregs () == 0
&& ix86_varargs_gpr_size + ix86_varargs_fpr_size == 0)
{
2018-12-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/88483
* gcc.target/i386/stackalign/pr88483.c: Removed. Revert
reversion 267133.
2018-12-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/87944
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -mavx2" } */
struct B
{
char a[12];
int b;
};
struct B
f2 (void)
{
struct B x = {};
return x;
}
/* { dg-final { scan-assembler-not "and\[lq\]?\[^\\n\]*-\[0-9\]+,\[^\\n\]*sp" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment