http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48717
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-22 18:53:32 UTC --- Author: jakub Date: Fri Apr 22 18:53:30 2011 New Revision: 172869 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172869 Log: PR tree-optimization/48717 * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and ~A + A optimizations use build_int_cst_type instead of build_int_cst. * gcc.c-torture/execute/pr48717.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/execute/pr48717.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-ssa-forwprop.c