PR tree-optimization/37207
* tree-ssa-ifcombine.c (recognize_single_bit_test): Fix
tuplification bug.
* gcc.c-torture/compile/pr37207.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139714
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-08-28 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/37207
+ * tree-ssa-ifcombine.c (recognize_single_bit_test): Fix
+ tuplification bug.
+
2008-08-28 Dodji Seketeli <dodji@redhat.com>
PR c++/36741
+2008-08-28 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/37207
+ * gcc.c-torture/compile/pr37207.c: New testcase.
+
2008-08-28 Janus Weil <janus@gcc.gnu.org>
PR fortran/37253
--- /dev/null
+void
+func_18 ( int t )
+{
+ unsigned l_889;
+ int l_895 = 1;
+ for (0; 1; ++l_889)
+ {
+ int t1 = 0;
+ if (func_81 (1))
+ {
+ int rhs = l_895;
+ if (rhs == 0)
+ rhs = 1;
+ if (1 & (t % rhs))
+ t1 = 1;
+ }
+ func_98 (t1);
+ l_895 = 0;
+ }
+}
+
stmt = SSA_NAME_DEF_STMT (orig_name);
while (is_gimple_assign (stmt)
- && (gimple_assign_copy_p (stmt)
+ && (gimple_assign_ssa_name_copy_p (stmt)
|| (gimple_assign_cast_p (stmt)
&& integral_operand_p (gimple_assign_lhs (stmt))
&& integral_operand_p (gimple_assign_rhs1 (stmt))