diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /toolchain/gcc/patches/4.6.3/.svn/text-base/000-gcc-bug-54369.patch.svn-base | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'toolchain/gcc/patches/4.6.3/.svn/text-base/000-gcc-bug-54369.patch.svn-base')
-rw-r--r-- | toolchain/gcc/patches/4.6.3/.svn/text-base/000-gcc-bug-54369.patch.svn-base | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.6.3/.svn/text-base/000-gcc-bug-54369.patch.svn-base b/toolchain/gcc/patches/4.6.3/.svn/text-base/000-gcc-bug-54369.patch.svn-base new file mode 100644 index 0000000..936b741 --- /dev/null +++ b/toolchain/gcc/patches/4.6.3/.svn/text-base/000-gcc-bug-54369.patch.svn-base @@ -0,0 +1,44 @@ +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 +--- +--- a/gcc/config/mips/mips.c ++++ b/gcc/config/mips/mips.c +@@ -15083,7 +15083,10 @@ mips_reorg (void) + } + + if (optimize > 0 && flag_delayed_branch) +- dbr_schedule (get_insns ()); ++ { ++ cleanup_barriers (); ++ dbr_schedule (get_insns ()); ++ } + mips_reorg_process_insns (); + if (!TARGET_MIPS16 + && TARGET_EXPLICIT_RELOCS +--- a/gcc/config/sparc/sparc.c ++++ b/gcc/config/sparc/sparc.c +@@ -9452,7 +9452,10 @@ sparc_reorg (void) + /* 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) |