Patchwork Patch committed: Set arg_pointer_save_area_init

mail settings
Submitter Ian Taylor
Date Sept. 15, 2010, 2:45 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/64833/
State New
Headers show


Ian Taylor - Sept. 15, 2010, 2:45 p.m.
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.


2010-09-15  Ian Lance Taylor  <>

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


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;