+2016-02-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from mainline
+ 2016-01-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/69214
+ * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
+ innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
+ Formatting fix.
+
2016-02-11 Oleg Endo <olegendo@gcc.gnu.org>
Backport from mainline
2016-02-11 Jakub Jelinek <jakub@redhat.com>
Backported from mainline
+ 2016-01-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/69214
+ * gcc.c-torture/compile/pr69214.c: New test.
+
2016-01-08 Jakub Jelinek <jakub@redhat.com>
PR fortran/69128
innerop = gimple_assign_rhs1 (def_stmt);
if (TREE_CODE (innerop) == SSA_NAME
- && !POINTER_TYPE_P (TREE_TYPE (innerop)))
+ && !POINTER_TYPE_P (TREE_TYPE (innerop))
+ && !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (innerop))
{
value_range_t *vr = get_value_range (innerop);
else
location = gimple_location (stmt);
warning_at (location, OPT_Wstrict_overflow,
- "assuming signed overflow does not occur when "
- "simplifying conditional");
+ "assuming signed overflow does not occur when "
+ "simplifying conditional");
}
tree newconst = fold_convert (TREE_TYPE (innerop), op1);