2014-11-17 Richard Biener <rguenther@suse.de>
PR middle-end/63898
* match.pd: Guard X / CST -> X * CST' transform against
zero CST.
From-SVN: r217650
+2014-11-17 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/63898
+ * match.pd: Guard X / CST -> X * CST' transform against
+ zero CST.
+
2014-11-17 Terry Guo <terry.guo@arm.com>
* config/arm/thumb1.md (*addsi3_cbranch_scratch): Updated to UAL
(simplify
(rdiv @0 cst@1)
(if (optimize)
- (if (flag_reciprocal_math)
+ (if (flag_reciprocal_math
+ && !real_zerop (@1))
(with
{ tree tem = fold_binary (RDIV_EXPR, type, build_one_cst (type), @1); }
(if (tem)