patches/gcc/4.6.0/000-gcc-bug-54369.patch
changeset 3104 7da91f9ba328
parent 3049 f0ae157444dc
     1.1 --- a/patches/gcc/4.6.0/000-gcc-bug-54369.patch	Wed Sep 19 10:35:32 2012 +0200
     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 -