aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristian Bruel <christian.bruel@st.com>2010-01-27 14:24:40 +0100
committerChristian Bruel <chrbr@gcc.gnu.org>2010-01-27 14:24:40 +0100
commit4f6fee0ff25a3667f8ec307ae0150cf38224266c (patch)
tree3b660f542fc4d2a827f7bc1e9cfaf24a87a5c22e /gcc
parentcdf6bfb713a8470debae7bbbcc416744665ab568 (diff)
downloadgcc-4f6fee0ff25a3667f8ec307ae0150cf38224266c.zip
gcc-4f6fee0ff25a3667f8ec307ae0150cf38224266c.tar.gz
gcc-4f6fee0ff25a3667f8ec307ae0150cf38224266c.tar.bz2
temporarily revert fix for PR target/42841
From-SVN: r156282
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/sh/sh.c7
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 75c6cbf..af9ad0d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2010-01-27 Christian Bruel <christian.bruel@st.com>
+
+ Revert:
+ PR target/42841
+ * config/sh/sh.c (find_barrier): Increase length for non delayed
+ conditional branches.
+
2010-01-27 Matthias Klose <doko@ubuntu.com>
* configure.ac (gnu-unique-object): Fix ldd version check.
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 283bb0a..cec17b8 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -4567,13 +4567,6 @@ find_barrier (int num_mova, rtx mova, rtx from)
&& ! TARGET_SMALLCODE)
new_align = 4;
- /* There is a possibility that a bf is transformed into a bf/s by the
- delay slot scheduler. */
- if (JUMP_P (from) && !JUMP_TABLE_DATA_P (from)
- && get_attr_type (from) == TYPE_CBRANCH
- && GET_CODE (PATTERN (NEXT_INSN (PREV_INSN (from)))) != SEQUENCE)
- inc += 2;
-
if (found_si)
{
count_si += inc;