@@ -1,3 +1,9 @@
+2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR middle-end/48016
+ * function.c (expand_function_start): Properly store frame
+ pointer for non-local goto.
+
2011-03-12 H.J. Lu <hongjiu.lu@intel.com>
PR target/48084
@@ -4762,7 +4762,7 @@ expand_function_start (tree subr)
cfun->nonlocal_goto_save_area,
integer_zero_node, NULL_TREE, NULL_TREE);
r_save = expand_expr (t_save, NULL_RTX, VOIDmode, EXPAND_WRITE);
- r_save = convert_memory_address (Pmode, r_save);
+ r_save = adjust_address (r_save, Pmode, 0);
emit_move_insn (r_save, targetm.builtin_setjmp_frame_value ());
update_nonlocal_goto_save_area ();