re PR rtl-optimization/52170 (ICE in trunc_int_for_mode, at explow.c:57 during simpli...
authorRichard Guenther <rguenther@suse.de>
Wed, 8 Feb 2012 13:29:22 +0000 (13:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 8 Feb 2012 13:29:22 +0000 (13:29 +0000)
commitea72cc1dcab80a27beb22a2c9f0b4110392ec56d
tree18998203ec72edbfcd8709766098cdd7edafc8d5
parent9e66e106ab1018782aba2630f01a059cb3c839d1
re PR rtl-optimization/52170 (ICE in trunc_int_for_mode, at explow.c:57 during simplify_plus_minus)

2012-02-08  Richard Guenther  <rguenther@suse.de>

PR rtl-optimization/52170
* simplify-rtx.c (simplify_plus_minus): Use CONSTM1_RTX to
properly handle integer vector modes.

* gcc.dg/torture/pr52170.c: New testcase.

From-SVN: r184007
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52170.c [new file with mode: 0644]