Avoid calling tracer.trailer() twice.

gcc/ChangeLog:

	* gimple-range-gori.cc (gori_compute::logical_combine): Avoid
	calling tracer.trailer().
This commit is contained in:
Aldy Hernandez 2022-10-11 16:00:33 +02:00
parent b65945e7fb
commit 576d524559

View File

@ -810,8 +810,12 @@ gori_compute::logical_combine (vrange &r, enum tree_code code,
}
else
res = false;
if (idx)
tracer.trailer (idx, "logical_combine", res, NULL_TREE, r);
if (idx && res)
{
tracer.print (idx, "logical_combine produced ");
r.dump (dump_file);
fputc ('\n', dump_file);
}
}
switch (code)