Fix Ada comparison failure on SPARC

* ipa-predicate.c (add_condition): Restore inverted test.

From-SVN: r274277
This commit is contained in:
Rainer Orth 2019-08-12 08:47:34 +00:00 committed by Rainer Orth
parent 8f88e7f6f8
commit 52c9b7face
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-08-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* ipa-predicate.c (add_condition): Restore inverted test.
2019-08-10 Jakub Jelinek <jakub@redhat.com>
* tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_DEVICE_TYPE.

View File

@ -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