This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r146622 - in /branches/gcc-4_4-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 22 Apr 2009 22:02:57 -0000
- Subject: r146622 - in /branches/gcc-4_4-branch/gcc: Chan...
Author: jakub
Date: Wed Apr 22 22:02:54 2009
New Revision: 146622
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146622
Log:
PR c/39855
* fold-const.c (fold_binary) <case LSHIFT_EXPR>: When optimizing
into 0, use omit_one_operand.
* gcc.dg/torture/pr39855.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr39855.c
- copied unchanged from r146617, trunk/gcc/testsuite/gcc.dg/torture/pr39855.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/fold-const.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog