diff mbox

Patch committed: Set arg_pointer_save_area_init

Message ID mcrtylruku9.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Sept. 15, 2010, 2:45 p.m. UTC
The arg_pointer_save_area_init field of the rtl_data structure is
currently read-only.  It's use suggested that the intention is for it to
be set to true when the argument pointer save area has been initialized,
but that is not actually done.  This patch fixes that.  Bootstrapped and
tested on x86_64-unknown-linux-gnu.  Committed as obvious.

Ian


2010-09-15  Ian Lance Taylor  <iant@google.com>

	* function.c (get_arg_pointer_save_area): Set
	arg_pointer_save_area_init to true.
diff mbox

Patch

Index: function.c
===================================================================
--- function.c	(revision 164305)
+++ function.c	(working copy)
@@ -5103,6 +5103,8 @@  get_arg_pointer_save_area (void)
       push_topmost_sequence ();
       emit_insn_after (seq, entry_of_function ());
       pop_topmost_sequence ();
+
+      crtl->arg_pointer_save_area_init = true;
     }
 
   return ret;