re PR target/86547 (s390x: Maximum number of LRA assignment passes is achieved (30) when compiling a small inline assembler snippet)
PR target/86547 * lra-lives.c (remove_some_program_points_and_update_live_ranges): Check whether lra_live_max_point is 0 before dividing. From-SVN: r263548
This commit is contained in:
parent
47f61a023f
commit
4720f4afba
@ -1,3 +1,9 @@
|
||||
2018-08-14 Ilya Leoshkevich <iii@linux.ibm.com>
|
||||
|
||||
PR target/86547
|
||||
* lra-lives.c (remove_some_program_points_and_update_live_ranges):
|
||||
Check whether lra_live_max_point is 0 before dividing.
|
||||
|
||||
2018-08-14 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR tree-optimization/86650
|
||||
|
@ -1153,7 +1153,8 @@ remove_some_program_points_and_update_live_ranges (void)
|
||||
n++;
|
||||
if (lra_dump_file != NULL)
|
||||
fprintf (lra_dump_file, "Compressing live ranges: from %d to %d - %d%%\n",
|
||||
lra_live_max_point, n, 100 * n / lra_live_max_point);
|
||||
lra_live_max_point, n,
|
||||
lra_live_max_point ? 100 * n / lra_live_max_point : 100);
|
||||
if (n < lra_live_max_point)
|
||||
{
|
||||
lra_live_max_point = n;
|
||||
|
Loading…
Reference in New Issue
Block a user