------- Comment #3 from jakub at gcc dot gnu dot org 2007-08-21 09:22 ------- Subject: Bug 32912
Author: jakub Date: Tue Aug 21 09:22:14 2007 New Revision: 127661 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127661 Log: PR middle-end/32912 * fold-const.c (fold_unary): Optimize BIT_NOT_EXPR of VECTOR_CST. (fold_binary): Handle vectors in X | ~X and X ^ ~X optimizations. * gcc.dg/pr32912-1.c: New test. * gcc.dg/pr32912-2.c: New test. * gcc.dg/pr32912-3.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr32912-1.c trunk/gcc/testsuite/gcc.dg/pr32912-2.c trunk/gcc/testsuite/gcc.dg/pr32912-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32912