http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46019
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-18 09:57:05 UTC --- Author: jakub Date: Mon Oct 18 09:57:02 2010 New Revision: 165617 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165617 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_5-branch/gcc/testsuite/gcc.c-torture/execute/pr46019.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/fold-const.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog