aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-04-29 11:31:40 +0000
committerYvan Roux <yroux@gcc.gnu.org>2015-04-29 11:31:40 +0000
commitb43482db17850bfd88142a18e1f6a0fb981211c3 (patch)
tree4b754de58e01b641e9301f984dea93d98466cf7b /gcc/config/arm
parent674dd7103b670b070990e074dcfc519d9f959f74 (diff)
downloadgcc-b43482db17850bfd88142a18e1f6a0fb981211c3.zip
gcc-b43482db17850bfd88142a18e1f6a0fb981211c3.tar.gz
gcc-b43482db17850bfd88142a18e1f6a0fb981211c3.tar.bz2
re PR target/65924 (ICE const_int_operand failed on arm-none-eabi)
gcc/ 2015-04-29 Yvan Roux <yvan.roux@linaro.org> PR target/65924 * config/arm/thumb2.md (*thumb2_addsi3_compare0_scratch): Fix operand number in type attribute expression. gcc/testsuite/ 2015-04-29 Yvan Roux <yvan.roux@linaro.org> PR target/65924 * gcc.target/arm/pr65924.c: New test. From-SVN: r222572
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/thumb2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md
index 4f9faac..2c91542 100644
--- a/gcc/config/arm/thumb2.md
+++ b/gcc/config/arm/thumb2.md
@@ -1305,7 +1305,7 @@
"
[(set_attr "conds" "set")
(set_attr "length" "2,4")
- (set (attr "type") (if_then_else (match_operand 2 "const_int_operand" "")
+ (set (attr "type") (if_then_else (match_operand 1 "const_int_operand" "")
(const_string "alus_imm")
(const_string "alus_sreg")))]
)