re PR target/89506 (ICE: in decompose, at rtl.h:2266 with -Og -g)
PR target/89506 * config/arm/arm.md (cmpsi2_addneg): Use trunc_int_for_mode (-INTVAL (...), SImode) instead of -INTVAL (...). If operands[2] is 0 or INT_MIN, force use of subs. (*compare_scc splitter): Use gen_int_mode. (*negscc): Likewise. * config/arm/thumb2.md (*thumb2_negscc): Likewise. * gcc.dg/pr89506.c: New test. From-SVN: r269339
Showing
gcc/testsuite/gcc.dg/pr89506.c
0 → 100644
Please
register
or
sign in
to comment