diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-19 02:09:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-19 02:09:52 +0000 |
commit | e9cb2940e698844a7f3e3263fa5a957b3b0cc266 (patch) | |
tree | a3abc36c14f0d91e04254e8f028d7d68e3d3124c /toolchain/gcc/patches/4.3.3+cs/420-fix_pr26515.patch | |
parent | 2e6af22dfc95e3f1a422d23d6b80e80737fea221 (diff) | |
download | master-187ad058-e9cb2940e698844a7f3e3263fa5a957b3b0cc266.tar.gz master-187ad058-e9cb2940e698844a7f3e3263fa5a957b3b0cc266.tar.bz2 master-187ad058-e9cb2940e698844a7f3e3263fa5a957b3b0cc266.zip |
add a gcc variant based on gcc 4.3.3 with codesourcery enhancements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18059 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.3.3+cs/420-fix_pr26515.patch')
-rw-r--r-- | toolchain/gcc/patches/4.3.3+cs/420-fix_pr26515.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.3.3+cs/420-fix_pr26515.patch b/toolchain/gcc/patches/4.3.3+cs/420-fix_pr26515.patch new file mode 100644 index 0000000000..24b3720726 --- /dev/null +++ b/toolchain/gcc/patches/4.3.3+cs/420-fix_pr26515.patch @@ -0,0 +1,13 @@ +--- a/gcc/config/cris/cris.md ++++ b/gcc/config/cris/cris.md +@@ -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))] |