re PR middle-end/63155 (memory hog)

2018-09-14  Richard Biener  <rguenther@suse.de>

	PR middle-end/63155
	* tree-ssa-coalesce.c (ssa_conflicts_merge): Remove conflict
	bits for the merged partition.

From-SVN: r264304
This commit is contained in:
Richard Biener 2018-09-14 06:59:21 +00:00 committed by Richard Biener
parent 6ab24ea809
commit 7efd5ff31d
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2018-09-14 Richard Biener <rguenther@suse.de>
PR middle-end/63155
* tree-ssa-coalesce.c (ssa_conflicts_merge): Remove conflict
bits for the merged partition.
2018-09-13 Martin Sebor <msebor@redhat.com>
Bernd Edlinger <bernd.edlinger@hotmail.de>

View file

@ -620,7 +620,11 @@ ssa_conflicts_merge (ssa_conflicts *ptr, unsigned x, unsigned y)
{
bitmap bz = ptr->conflicts[z];
if (bz)
bitmap_set_bit (bz, x);
{
bool was_there = bitmap_clear_bit (bz, y);
gcc_checking_assert (was_there);
bitmap_set_bit (bz, x);
}
}
if (bx)