diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eaafd22893a..d6f43094515 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-08-12 Rainer Orth + + * ipa-predicate.c (add_condition): Restore inverted test. + 2019-08-10 Jakub Jelinek * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_DEVICE_TYPE. diff --git a/gcc/ipa-predicate.c b/gcc/ipa-predicate.c index 775f82bce9f..8a9851a2040 100644 --- a/gcc/ipa-predicate.c +++ b/gcc/ipa-predicate.c @@ -549,7 +549,7 @@ add_condition (class ipa_fn_summary *summary, int operand_num, for (i = 0; vec_safe_iterate (summary->conds, i, &c); i++) { if (c->operand_num == operand_num - && maybe_ne (c->size, size) + && known_eq (c->size, size) && c->code == code && c->val == val && c->agg_contents == agg_contents