http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 21:04:57 UTC --- Author: jakub Date: Mon Jul 4 21:04:54 2011 New Revision: 175825 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175825 Log: 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. Added: trunk/gcc/testsuite/gcc.dg/pr49619.c Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog