Merge lp:~uweigand/gcc-linaro/lp-617384-4.4 into lp:gcc-linaro/4.4

Proposed by Ulrich Weigand
Status: Merged
Merged at revision: 93572
Proposed branch: lp:~uweigand/gcc-linaro/lp-617384-4.4
Merge into: lp:gcc-linaro/4.4
Diff against target: 40 lines (+14/-1)
2 files modified
ChangeLog.linaro (+8/-0)
gcc/config/arm/arm.c (+6/-1)
To merge this branch: bzr merge lp:~uweigand/gcc-linaro/lp-617384-4.4
Reviewer Review Type Date Requested Status
Linaro Toolchain Developers Pending
Review via email: mp+44348@code.launchpad.net

Description of the change

Fix LP #617384.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog.linaro'
2--- ChangeLog.linaro 2010-12-10 13:50:05 +0000
3+++ ChangeLog.linaro 2010-12-21 14:47:37 +0000
4@@ -1,3 +1,11 @@
5+2010-12-21 Ulrich Weigand <uweigand@de.ibm.com>
6+
7+ LP: #617384
8+ Backport from mainline:
9+
10+ * config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all
11+ instructions injected into the prologue to prologue_locator.
12+
13 2010-12-10 Andrew Stubbs <ams@codesourcery.com>
14
15 gcc/
16
17=== modified file 'gcc/config/arm/arm.c'
18--- gcc/config/arm/arm.c 2010-09-07 14:49:43 +0000
19+++ gcc/config/arm/arm.c 2010-12-21 14:47:37 +0000
20@@ -4856,7 +4856,7 @@
21 }
22 else
23 {
24- rtx seq;
25+ rtx seq, insn;
26
27 if (!cfun->machine->pic_reg)
28 cfun->machine->pic_reg = gen_reg_rtx (Pmode);
29@@ -4873,6 +4873,11 @@
30
31 seq = get_insns ();
32 end_sequence ();
33+
34+ for (insn = seq; insn; insn = NEXT_INSN (insn))
35+ if (INSN_P (insn))
36+ INSN_LOCATOR (insn) = prologue_locator;
37+
38 emit_insn_after (seq, entry_of_function ());
39 }
40 }

Subscribers

People subscribed via source and target branches