into MINUS_EXPRs.
(can_reassociate_p): New function.
(break_up_subtract_bb, reassociate_bb): Use it.
testsuite/
* gcc.dg/tree-ssa/negate.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158265
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-04-13 Michael Matz <matz@suse.de>
+
+ * tree-ssa-reassoc.c (repropagate_negates): Merge negates also
+ into MINUS_EXPRs.
+ (can_reassociate_p): New function.
+ (break_up_subtract_bb, reassociate_bb): Use it.
+
2010-04-13 Richard Guenther <rguenther@suse.de>
PR bootstrap/43737
+2010-04-13 Michael Matz <matz@suse.de>
+
+ * gcc.dg/tree-ssa/negate.c: New testcase.
+
2010-04-13 Richard Guenther <rguenther@suse.de>
PR testsuite/43735
tree type = TREE_TYPE (op);
if (INTEGRAL_TYPE_P (type)
|| NON_SAT_FIXED_POINT_TYPE_P (type)
- || (flag_associative_math && FLOAT_TYPE_P (type)))
+ || (flag_associative_math && SCALAR_FLOAT_TYPE_P (type)))
return true;
return false;
}