aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.3.3
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2009-10-12 13:38:52 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2009-10-12 13:38:52 +0000
commit3b048781ea59950c086e7836a1492e501a8cdd4a (patch)
tree7b296b6813bc0bd8c7b4084d03fac1414670f220 /toolchain/gcc/patches/4.3.3
parent79973cfaa7f3244515a37ab2908f4a2c60d76960 (diff)
downloadupstream-3b048781ea59950c086e7836a1492e501a8cdd4a.tar.gz
upstream-3b048781ea59950c086e7836a1492e501a8cdd4a.tar.bz2
upstream-3b048781ea59950c086e7836a1492e501a8cdd4a.zip
cris: fix ICE PR26515 (#3723)
SVN-Revision: 18042
Diffstat (limited to 'toolchain/gcc/patches/4.3.3')
-rw-r--r--toolchain/gcc/patches/4.3.3/420-fix_pr26515.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.3.3/420-fix_pr26515.patch b/toolchain/gcc/patches/4.3.3/420-fix_pr26515.patch
new file mode 100644
index 0000000000..00d63a9e34
--- /dev/null
+++ b/toolchain/gcc/patches/4.3.3/420-fix_pr26515.patch
@@ -0,0 +1,15 @@
+--- a/gcc/config/cris/cris.md 2009-10-12 10:28:01.000000000 +0200
++++ b/gcc/config/cris/cris.md 2009-10-12 10:29:09.000000000 +0200
+@@ -4920,7 +4920,9 @@
+ "REGNO (operands[2]) == REGNO (operands[0])
+ && INTVAL (operands[3]) <= 65535 && INTVAL (operands[3]) >= 0
+ && !CONST_OK_FOR_LETTER_P (INTVAL (operands[3]), 'I')
+- && !side_effects_p (operands[1])"
++ && !side_effects_p (operands[1])
++ && (!REG_P (operands[1])
++ || REGNO (operands[1]) <= CRIS_LAST_GENERAL_REGISTER)"
+ ;; FIXME: CC0 valid except for M (i.e. CC_NOT_NEGATIVE).
+ [(set (match_dup 0) (match_dup 4))
+ (set (match_dup 5) (match_dup 6))]
+
+