diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-09 04:19:43 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-09 04:19:43 +0000 |
commit | 65c893900204393820e27c713e1dbe1e220bdc26 (patch) | |
tree | 7eab9c6877586fed4f47ae3d7bbef376c29efdd3 /gotools | |
parent | 5962bd2815af9402100ca4dced8c1944fc2d59e4 (diff) | |
download | gcc-65c893900204393820e27c713e1dbe1e220bdc26.tar.gz |
Correct libvtv obstack use
Fixes a compile error with both old and new obstacks due to
obstack_chunk_free having the wrong signature. Also, setting chunk
size and alignment before obstack_init is pointless since they are
overwritten.
* vtv_malloc.cc (obstack_chunk_free): Correct param type.
(__vtv_malloc_init): Use obstack_specify_allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229985 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gotools')
0 files changed, 0 insertions, 0 deletions