source: trunk/toolchain/gcc/patches/4.6-linaro/000-gcc-bug-54369.patch @ 33328

Last change on this file since 33328 was 33328, checked in by florian, 4 years ago

[toolchain] gcc: add upstream fixes for GCC bug 54369

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.

File size: 1.4 KB
  • gcc-4_6-branch/gcc/config/mips/mips.c

    Author: ebotcazou
    Date: Sun Sep  2 10:37:49 2012
    New Revision: 190860
    
    URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190860
    Log:
        PR rtl-optimization/54369
        * config/mips/mips.c (mips_reorg): Invoke cleanup_barriers before
        calling dbr_schedule.
        * config/sparc/sparc.c (sparc_reorg): Likewise.
    
    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
    ---
     
    1508315083    } 
    1508415084 
    1508515085  if (optimize > 0 && flag_delayed_branch) 
    15086     dbr_schedule (get_insns ()); 
     15086    { 
     15087      cleanup_barriers (); 
     15088      dbr_schedule (get_insns ()); 
     15089    } 
    1508715090  mips_reorg_process_insns (); 
    1508815091  if (!TARGET_MIPS16 
    1508915092      && TARGET_EXPLICIT_RELOCS 
  • gcc-4_6-branch/gcc/config/sparc/sparc.c

     
    94569456  /* We need to have the (essentially) final form of the insn stream in order 
    94579457     to properly detect the various hazards.  Run delay slot scheduling.  */ 
    94589458  if (optimize > 0 && flag_delayed_branch) 
    9459     dbr_schedule (get_insns ()); 
     9459    { 
     9460      cleanup_barriers (); 
     9461      dbr_schedule (get_insns ()); 
     9462    } 
    94609463 
    94619464  /* Now look for specific patterns in the insn stream.  */ 
    94629465  for (insn = get_insns (); insn; insn = next) 
Note: See TracBrowser for help on using the repository browser.