summaryrefslogtreecommitdiff
path: root/patches/gcc/4.6.1/000-gcc-bug-54369.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-11-09 18:42:32 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-11-09 18:42:32 (GMT)
commitd12940f6ac688083afcd1f0bb30ac7966c8f79bc (patch)
tree195a76c238e4863e74384d87e487b9bf803b614b /patches/gcc/4.6.1/000-gcc-bug-54369.patch
parent49a1602050ae536fffc3273f4592cc8cdb4f56b0 (diff)
cc/gcc: fix patches for 4.6.{0,1}
Remove the sparc part, as it touches code that does not exist in those versions of gcc (it was added at 4.6.2). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> CC: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'patches/gcc/4.6.1/000-gcc-bug-54369.patch')
-rw-r--r--patches/gcc/4.6.1/000-gcc-bug-54369.patch18
1 files changed, 3 insertions, 15 deletions
diff --git a/patches/gcc/4.6.1/000-gcc-bug-54369.patch b/patches/gcc/4.6.1/000-gcc-bug-54369.patch
index b91f0eb..1cdb659 100644
--- a/patches/gcc/4.6.1/000-gcc-bug-54369.patch
+++ b/patches/gcc/4.6.1/000-gcc-bug-54369.patch
@@ -13,6 +13,9 @@ Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/mips/mips.c
branches/gcc-4_6-branch/gcc/config/sparc/sparc.c
+
+[yann.morin.1998@free.fr: remove the sparc part, it does not apply]
+
---
--- gcc-4_6-branch/gcc/config/mips/mips.c 2012/09/02 10:36:54 190859
+++ gcc-4_6-branch/gcc/config/mips/mips.c 2012/09/02 10:37:49 190860
@@ -28,18 +31,3 @@ Modified:
mips_reorg_process_insns ();
if (!TARGET_MIPS16
&& TARGET_EXPLICIT_RELOCS
---- gcc-4_6-branch/gcc/config/sparc/sparc.c 2012/09/02 10:36:54 190859
-+++ gcc-4_6-branch/gcc/config/sparc/sparc.c 2012/09/02 10:37:49 190860
-@@ -9456,7 +9456,10 @@
- /* We need to have the (essentially) final form of the insn stream in order
- to properly detect the various hazards. Run delay slot scheduling. */
- if (optimize > 0 && flag_delayed_branch)
-- dbr_schedule (get_insns ());
-+ {
-+ cleanup_barriers ();
-+ dbr_schedule (get_insns ());
-+ }
-
- /* Now look for specific patterns in the insn stream. */
- for (insn = get_insns (); insn; insn = next)
-