This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r139786 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 29 Aug 2008 19:08:19 -0000
- Subject: r139786 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: jakub
Date: Fri Aug 29 19:08:18 2008
New Revision: 139786
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139786
Log:
PR c/37261
* fold-const.c (fold_binary): In (X | C1) & C2 canonicalization
compute new & and | in type rather than TREE_TYPE (arg0).
* gcc.dg/pr37261.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr37261.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/fold-const.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog