Fix memory leak in tree-parloops.c

* tree-parloops.c (oacc_entry_exit_ok): Release a vector.

From-SVN: r236471
This commit is contained in:
Martin Liska 2016-05-19 17:07:28 +02:00 committed by Martin Liska
parent f6b8cbb70e
commit 4089c3402c
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2016-05-19 Martin Liska <mliska@suse.cz>
* tree-parloops.c (oacc_entry_exit_ok): Release a vector.
2016-05-19 Martin Liska <mliska@suse.cz>
* tree-if-conv.c (ifcvt_repair_bool_pattern): Utilize auto_vecs.

View file

@ -3168,6 +3168,7 @@ oacc_entry_exit_ok (struct loop *loop,
}
}
region_bbs.release ();
free (loop_bbs);
BITMAP_FREE (in_loop_bbs);