PR middle-end/82123
PR tree-optimization/81592
PR middle-end/79257
* gimple-ssa-evrp-analyze.c (evrp_range_analyzer::enter): Do nothing
if not optimizing.
(evrp_range_analyzer::record_ranges_from_stmt): Likewise.
(evrp_range_analyzer::pop_to_marker): Likewise.
From-SVN: r257851
+2018-02-20 Jeff Law <law@redhat.com>
+
+ PR middle-end/82123
+ PR tree-optimization/81592
+ PR middle-end/79257
+ * gimple-ssa-evrp-analyze.c (evrp_range_analyzer::enter): Do nothing
+ if not optimizing.
+ (evrp_range_analyzer::record_ranges_from_stmt): Likewise.
+ (evrp_range_analyzer::pop_to_marker): Likewise.
+
2018-02-20 Richard Sandiford <richard.sandiford@linaro.org>
PR tree-optimization/84419
void
evrp_range_analyzer::enter (basic_block bb)
{
+ if (!optimize)
+ return;
push_marker ();
record_ranges_from_incoming_edge (bb);
record_ranges_from_phis (bb);
{
tree output = NULL_TREE;
+ if (!optimize)
+ return;
+
if (dyn_cast <gcond *> (stmt))
;
else if (stmt_interesting_for_vrp (stmt))
void
evrp_range_analyzer::leave (basic_block bb ATTRIBUTE_UNUSED)
{
+ if (!optimize)
+ return;
pop_to_marker ();
}