OSDN Git Service

PR rtl-optimization/49619
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jul 2011 21:04:54 +0000 (21:04 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jul 2011 21:04:54 +0000 (21:04 +0000)
commit9a1ba33e28ccfe26dd3d875d476833c164164729
treee6584beeae32a98e8799d34bffe88039b8b8e8e0
parent0ed407e4eea0664d140ba9ef4ad22dde797c49c6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175825 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49619.c [new file with mode: 0644]