------- Comment #4 from jakub at gcc dot gnu dot org 2007-08-24 17:16 ------- Subject: Bug 32912
Author: jakub Date: Fri Aug 24 17:15:51 2007 New Revision: 127779 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127779 Log: PR middle-end/32912 * fold-const.c (fold_binary): Only optimize X | ~X and X ^ ~X for integral types. * gcc.dg/pr32912-1.c: New test. * gcc.dg/pr32912-2.c: New test. Added: branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr32912-1.c branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr32912-2.c Modified: branches/gcc-4_2-branch/gcc/fold-const.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32912