summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-12 18:17:41 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-12 18:17:41 +0000
commitdfd9ed5bcbe454cea9d6e6524e6bbe74dd98cac5 (patch)
tree454cc9a299d857f4458bcb48622a4a3f3b1e9c61 /gcc/function.c
parentd9adf3034dcec15c4d4147121a6bc84f69b6644f (diff)
downloadgcc-dfd9ed5bcbe454cea9d6e6524e6bbe74dd98cac5.tar.gz
* function.c (expand_function_end): Set the locator of the prologue on
the stack checking insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166668 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index cb6a2b6ce18..18025e3e26f 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4867,6 +4867,7 @@ expand_function_end (void)
probe_stack_range (STACK_OLD_CHECK_PROTECT, max_frame_size);
seq = get_insns ();
end_sequence ();
+ set_insn_locators (seq, prologue_locator);
emit_insn_before (seq, stack_check_probe_note);
break;
}