re PR rtl-optimization/49619 (ICE in simplify_subreg, at simplify-rtx.c:5362)
authorJakub Jelinek <jakub@redhat.com>
Mon, 4 Jul 2011 21:04:54 +0000 (23:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 4 Jul 2011 21:04:54 +0000 (23:04 +0200)
commitaf421d9cf0a6cbc585e42af653a01619457ecc01
treee6584beeae32a98e8799d34bffe88039b8b8e8e0
parent707f991907e5c97c56a05654fee49f4940158994
re PR rtl-optimization/49619 (ICE in simplify_subreg, at simplify-rtx.c:5362)

PR rtl-optimization/49619
* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
pass VOIDmode as op0_mode to recursive call, and return temp even
when different from tor, just if it is not IOR of the original
PLUS arguments.

* gcc.dg/pr49619.c: New test.

From-SVN: r175825
gcc/ChangeLog
gcc/combine.c
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49619.c [new file with mode: 0644]