2013-05-02 Richard Biener <rguenther@suse.de>
commit73c6d54e2cd9732b48f35516124b6848cff88e2d
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2013 13:59:38 +0000 (2 13:59 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2013 13:59:38 +0000 (2 13:59 +0000)
tree849d92074f65867ad3f1ba5437908e05b47c65e5
parent7007400071d3afc1525ca1691c93ae77c509349f
2013-05-02  Richard Biener  <rguenther@suse.de>

* graphds.h (struct graph): Add obstack member.
* graphds.c (new_graph): Initialize obstack and allocate
vertices from it.
(add_edge): Allocate edge from the obstack.
(free_graph): Free the obstack instead of all edges and
vertices.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198539 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/graphds.c
gcc/graphds.h