Commit ee24c8e1 by Eric Botcazou Committed by Eric Botcazou

i386.c (ix86_finalize_stack_frame_flags): Do not overrule…

i386.c (ix86_finalize_stack_frame_flags): Do not overrule -fno-omit-frame-pointer when not optimizing.

	* config/i386/i386.c (ix86_finalize_stack_frame_flags): Do not overrule
	-fno-omit-frame-pointer when not optimizing.

From-SVN: r262302
parent 5d4e9f7b
2018-07-02 Eric Botcazou <ebotcazou@adacore.com>
* config/i386/i386.c (ix86_finalize_stack_frame_flags): Do not overrule
-fno-omit-frame-pointer when not optimizing.
2018-07-02 Martin Liska <mliska@suse.cz>
PR ipa/86279
......@@ -394,6 +399,8 @@
2018-06-28 Eric Botcazou <ebotcazou@adacore.com>
* tree-inline.h (struct copy_body_data): Move remapping_type_depth and
prevent_decl_creation_for_types fields up and add reset_location field.
* tree-inline.c (remap_gimple_stmt): Force input_location on the new
statement if id->reset_location is true.
(copy_edges_for_bb): Do not set goto_locus on the new edges if
......@@ -402,8 +409,6 @@
id->reset_location is true.
(expand_call_inline): Set id->reset_location if DECL_IGNORED_P
is set on the function to be inlined.
* tree-inline.h (struct copy_body_data): Move remapping_type_depth and
prevent_decl_creation_for_types fields up and add reset_location field.
2018-06-27 Stephan Bergmann <sbergman@redhat.com>
......
......@@ -13145,7 +13145,7 @@ ix86_finalize_stack_frame_flags (void)
is used, but in the end nothing that needed the stack alignment had
been spilled nor stack access, clear frame_pointer_needed and say we
don't need stack realignment. */
if ((stack_realign || !flag_omit_frame_pointer)
if ((stack_realign || (!flag_omit_frame_pointer && optimize))
&& frame_pointer_needed
&& crtl->is_leaf
&& crtl->sp_is_unchanging
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