1.1 --- a/patches/gcc/4.6.0/000-gcc-bug-54369.patch Tue Nov 06 17:02:06 2012 +0100
1.2 +++ b/patches/gcc/4.6.0/000-gcc-bug-54369.patch Fri Nov 09 19:42:32 2012 +0100
1.3 @@ -13,6 +13,9 @@
1.4 branches/gcc-4_6-branch/gcc/ChangeLog
1.5 branches/gcc-4_6-branch/gcc/config/mips/mips.c
1.6 branches/gcc-4_6-branch/gcc/config/sparc/sparc.c
1.7 +
1.8 +[yann.morin.1998@free.fr: remove the sparc part, it does not apply]
1.9 +
1.10 ---
1.11 --- gcc-4_6-branch/gcc/config/mips/mips.c 2012/09/02 10:36:54 190859
1.12 +++ gcc-4_6-branch/gcc/config/mips/mips.c 2012/09/02 10:37:49 190860
1.13 @@ -28,18 +31,3 @@
1.14 mips_reorg_process_insns ();
1.15 if (!TARGET_MIPS16
1.16 && TARGET_EXPLICIT_RELOCS
1.17 ---- gcc-4_6-branch/gcc/config/sparc/sparc.c 2012/09/02 10:36:54 190859
1.18 -+++ gcc-4_6-branch/gcc/config/sparc/sparc.c 2012/09/02 10:37:49 190860
1.19 -@@ -9456,7 +9456,10 @@
1.20 - /* We need to have the (essentially) final form of the insn stream in order
1.21 - to properly detect the various hazards. Run delay slot scheduling. */
1.22 - if (optimize > 0 && flag_delayed_branch)
1.23 -- dbr_schedule (get_insns ());
1.24 -+ {
1.25 -+ cleanup_barriers ();
1.26 -+ dbr_schedule (get_insns ());
1.27 -+ }
1.28 -
1.29 - /* Now look for specific patterns in the insn stream. */
1.30 - for (insn = get_insns (); insn; insn = next)
1.31 -
2.1 --- a/patches/gcc/4.6.1/000-gcc-bug-54369.patch Tue Nov 06 17:02:06 2012 +0100
2.2 +++ b/patches/gcc/4.6.1/000-gcc-bug-54369.patch Fri Nov 09 19:42:32 2012 +0100
2.3 @@ -13,6 +13,9 @@
2.4 branches/gcc-4_6-branch/gcc/ChangeLog
2.5 branches/gcc-4_6-branch/gcc/config/mips/mips.c
2.6 branches/gcc-4_6-branch/gcc/config/sparc/sparc.c
2.7 +
2.8 +[yann.morin.1998@free.fr: remove the sparc part, it does not apply]
2.9 +
2.10 ---
2.11 --- gcc-4_6-branch/gcc/config/mips/mips.c 2012/09/02 10:36:54 190859
2.12 +++ gcc-4_6-branch/gcc/config/mips/mips.c 2012/09/02 10:37:49 190860
2.13 @@ -28,18 +31,3 @@
2.14 mips_reorg_process_insns ();
2.15 if (!TARGET_MIPS16
2.16 && TARGET_EXPLICIT_RELOCS
2.17 ---- gcc-4_6-branch/gcc/config/sparc/sparc.c 2012/09/02 10:36:54 190859
2.18 -+++ gcc-4_6-branch/gcc/config/sparc/sparc.c 2012/09/02 10:37:49 190860
2.19 -@@ -9456,7 +9456,10 @@
2.20 - /* We need to have the (essentially) final form of the insn stream in order
2.21 - to properly detect the various hazards. Run delay slot scheduling. */
2.22 - if (optimize > 0 && flag_delayed_branch)
2.23 -- dbr_schedule (get_insns ());
2.24 -+ {
2.25 -+ cleanup_barriers ();
2.26 -+ dbr_schedule (get_insns ());
2.27 -+ }
2.28 -
2.29 - /* Now look for specific patterns in the insn stream. */
2.30 - for (insn = get_insns (); insn; insn = next)
2.31 -