aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-11-12 18:17:41 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-11-12 18:17:41 +0000
commitd16e455d844044f42dd35ce631b45ecee8ed0172 (patch)
tree454cc9a299d857f4458bcb48622a4a3f3b1e9c61 /gcc
parentd780189f23bdad447d7520f46ec1d3258a115d82 (diff)
downloadgcc-d16e455d844044f42dd35ce631b45ecee8ed0172.zip
gcc-d16e455d844044f42dd35ce631b45ecee8ed0172.tar.gz
gcc-d16e455d844044f42dd35ce631b45ecee8ed0172.tar.bz2
function.c (expand_function_end): Set the locator of the prologue on the stack checking insns.
* function.c (expand_function_end): Set the locator of the prologue on the stack checking insns. From-SVN: r166668
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/function.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 923a120..88a7c73 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-12 Eric Botcazou <ebotcazou@adacore.com>
+
+ * function.c (expand_function_end): Set the locator of the prologue on
+ the stack checking insns.
+
2010-11-12 Richard Henderson <rth@redhat.com>
* config.gcc [xtensa] (extra_options): Add fused-madd.opt.
diff --git a/gcc/function.c b/gcc/function.c
index cb6a2b6..18025e3 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;
}