re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)
authorJames A. Morrison <phython@gcc.gnu.org>
Mon, 13 Jun 2005 00:18:41 +0000 (00:18 +0000)
committerJames A. Morrison <phython@gcc.gnu.org>
Mon, 13 Jun 2005 00:18:41 +0000 (00:18 +0000)
commita165e746471b32ea442c325732f5c2907034db45
tree0e491ce1198062f770844aa5c3a1dadc4b298c0c
parent61e58d36f29d9c190c6e520a47f45e83582d9b74
re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)

2005-06-12  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/14796
        * fold-const (fold_binary): Transform (X << C) >> C into X & (-1>>C)
        for unsigned types.

From-SVN: r100869
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr14796-1.c