Commit b43482db by Yvan Roux Committed by Yvan Roux

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
parent 674dd710
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.
2015-04-29 Richard Sandiford <richard.sandiford@arm.com> 2015-04-29 Richard Sandiford <richard.sandiford@arm.com>
* loop-iv.c (canon_condition): Generalize to all types of integer * loop-iv.c (canon_condition): Generalize to all types of integer
......
...@@ -1305,7 +1305,7 @@ ...@@ -1305,7 +1305,7 @@
" "
[(set_attr "conds" "set") [(set_attr "conds" "set")
(set_attr "length" "2,4") (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_imm")
(const_string "alus_sreg")))] (const_string "alus_sreg")))]
) )
......
2015-04-29 Yvan Roux <yvan.roux@linaro.org>
PR target/65924
* gcc.target/arm/pr65924.c: New test.
2015-04-29 Thomas Schwinge <thomas@codesourcery.com> 2015-04-29 Thomas Schwinge <thomas@codesourcery.com>
* g++.dg/gomp/tpl-target-update.C: New file. * g++.dg/gomp/tpl-target-update.C: New file.
......
/* { dg-do compile } */
/* { dg-options "-O2 -mthumb" } */
int a, b, c;
int fn1() {
if (b + a < 0)
c = 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment