re PR tree-optimization/14847 ([tree-ssa] combine "if (a & 1) goto there" and "if...
authorRichard Guenther <rguenther@suse.de>
Wed, 30 Apr 2008 15:06:16 +0000 (15:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 30 Apr 2008 15:06:16 +0000 (15:06 +0000)
commitd7b339dd2a56fdc490df97f54cc031862bc35470
treedd5256063c954d6124c39527db2f7d903cd8c3ad
parent56b1a55446a0646c53a2474be6051acf592e1da7
re PR tree-optimization/14847 ([tree-ssa] combine "if (a & 1) goto there" and "if (a & 4) goto there")

2008-04-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/14847
* tree-ssa-ifcombine.c (get_name_for_bit_test): New helper function.
(recognize_bits_test): Use it.
(recognize_single_bit_test): Likewise.

* gcc.dg/tree-ssa/ssa-ifcombine-6.c: New testcase.

From-SVN: r134825
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-6.c [new file with mode: 0644]
gcc/tree-ssa-ifcombine.c