aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2007-07-03 04:01:35 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2007-07-03 04:01:35 +0000
commit1ed50f7194d46aa97af8072b0da2bcd68f906488 (patch)
tree4b0b004b185910e6daafd4a3aeb5568d0099ae79 /gcc
parent370f20446dcf56cc226a912f2aeee17256d66fcd (diff)
downloadgcc-1ed50f7194d46aa97af8072b0da2bcd68f906488.zip
gcc-1ed50f7194d46aa97af8072b0da2bcd68f906488.tar.gz
gcc-1ed50f7194d46aa97af8072b0da2bcd68f906488.tar.bz2
re PR target/32506 (cross compile sh64-superh-linux-gnu internal compiler error: in change_address_1, at emit-rtl.c:1800)
PR target/32506 * config/sh/sh.md (udivsi3_i1_media): Use target_reg_operand predicate instead of target_operand. (divsi3_i1_media, divsi3_media_2): Likewise. From-SVN: r126243
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/sh/sh.md6
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f58379..499acfe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-03 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ PR target/32506
+ * config/sh/sh.md (udivsi3_i1_media): Use target_reg_operand
+ predicate instead of target_operand.
+ (divsi3_i1_media, divsi3_media_2): Likewise.
+
2007-07-02 Eric Botcazou <ebotcazou@adacore.com>
* tree.h (alias_sets_might_conflict_p): Rename into
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 8b295bc..f7b179d 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -1765,7 +1765,7 @@
(clobber (reg:DI TR0_REG))
(clobber (reg:DI TR1_REG))
(clobber (reg:DI TR2_REG))
- (use (match_operand 1 "target_operand" "b"))]
+ (use (match_operand 1 "target_reg_operand" "b"))]
"TARGET_SHMEDIA && (! TARGET_SHMEDIA_FPU || ! TARGET_DIVIDE_FP)"
"blink %1, r18"
[(set_attr "type" "sfunc")
@@ -1962,7 +1962,7 @@
(clobber (reg:SI R20_REG))
(clobber (reg:SI R21_REG))
(clobber (reg:SI TR0_REG))
- (use (match_operand 1 "target_operand" "b"))]
+ (use (match_operand 1 "target_reg_operand" "b"))]
"TARGET_SHMEDIA && (! TARGET_SHMEDIA_FPU || ! TARGET_DIVIDE_FP)"
"blink %1, r18"
[(set_attr "type" "sfunc")])
@@ -1976,7 +1976,7 @@
(clobber (reg:SI R21_REG))
(clobber (reg:SI TR0_REG))
(use (reg:SI R20_REG))
- (use (match_operand 1 "target_operand" "b"))]
+ (use (match_operand 1 "target_reg_operand" "b"))]
"TARGET_SHMEDIA && (! TARGET_SHMEDIA_FPU || ! TARGET_DIVIDE_FP)"
"blink %1, r18"
[(set_attr "type" "sfunc")])