This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r165621 - 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: Mon, 18 Oct 2010 10:08:48 -0000
- Subject: r165621 - in /branches/gcc-4_4-branch/gcc: Chan...
Author: jakub
Date: Mon Oct 18 10:08:47 2010
New Revision: 165621
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165621
Log:
PR middle-end/46019
* fold-const.c (fold_binary_loc): If integer_pow2p has
TREE_INT_CST_LOW zero, look at TREE_INT_CST_HIGH.
* gcc.c-torture/execute/pr46019.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr46019.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