OSDN Git Service

* function.c (expand_function_end): Set the locator of the prologue on
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Nov 2010 18:17:41 +0000 (18:17 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Nov 2010 18:17:41 +0000 (18:17 +0000)
the stack checking insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166668 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/function.c

index 923a120..88a7c73 100644 (file)
@@ -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.
index cb6a2b6..18025e3 100644 (file)
@@ -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;
          }