patches/gcc/4.6.3/000-gcc-bug-54369.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Mar 11 22:11:43 2014 +0100 (2014-03-11)
changeset 3293 e11a8a2e225d
permissions -rw-r--r--
comptools: do not force build of make-3.81 unless really needed

On systems with make-3.82, we forcibly force the build and the use
of make-3.81

But some newer tools break when building with make-3.81. For example,
eglibc-3.18 breaks.

Introduce a new blind options that tools may select if they require
make-3.81. If the system does not have make-3.81, and this option is
selected, then we force the build of make-3.81. Otherwise, we leave
it to the user to decide on his own.

Note that no component selects this option for now. It will come in
later patches as we find them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 Author: ebotcazou
     2 Date: Sun Sep  2 10:37:49 2012
     3 New Revision: 190860
     4 
     5 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190860
     6 Log:
     7     PR rtl-optimization/54369
     8     * config/mips/mips.c (mips_reorg): Invoke cleanup_barriers before
     9     calling dbr_schedule.
    10     * config/sparc/sparc.c (sparc_reorg): Likewise.
    11 
    12 Modified:
    13     branches/gcc-4_6-branch/gcc/ChangeLog
    14     branches/gcc-4_6-branch/gcc/config/mips/mips.c
    15     branches/gcc-4_6-branch/gcc/config/sparc/sparc.c
    16 ---
    17 --- gcc-4_6-branch/gcc/config/mips/mips.c	2012/09/02 10:36:54	190859
    18 +++ gcc-4_6-branch/gcc/config/mips/mips.c	2012/09/02 10:37:49	190860
    19 @@ -15083,7 +15083,10 @@
    20      }
    21  
    22    if (optimize > 0 && flag_delayed_branch)
    23 -    dbr_schedule (get_insns ());
    24 +    {
    25 +      cleanup_barriers ();
    26 +      dbr_schedule (get_insns ());
    27 +    }
    28    mips_reorg_process_insns ();
    29    if (!TARGET_MIPS16
    30        && TARGET_EXPLICIT_RELOCS
    31 --- gcc-4_6-branch/gcc/config/sparc/sparc.c	2012/09/02 10:36:54	190859
    32 +++ gcc-4_6-branch/gcc/config/sparc/sparc.c	2012/09/02 10:37:49	190860
    33 @@ -9456,7 +9456,10 @@
    34    /* We need to have the (essentially) final form of the insn stream in order
    35       to properly detect the various hazards.  Run delay slot scheduling.  */
    36    if (optimize > 0 && flag_delayed_branch)
    37 -    dbr_schedule (get_insns ());
    38 +    {
    39 +      cleanup_barriers ();
    40 +      dbr_schedule (get_insns ());
    41 +    }
    42  
    43    /* Now look for specific patterns in the insn stream.  */
    44    for (insn = get_insns (); insn; insn = next)
    45