Silence obstack.c -Wc++compat warning
authorAlan Modra <amodra@gmail.com>
Mon, 9 Nov 2015 04:30:26 +0000 (15:00 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 9 Nov 2015 04:30:26 +0000 (15:00 +1030)
commita186d523f2c78682594c9b101fb0b2e370f59334
treec1be301479b11951aef532b613c5b1aa57cc63c6
parentf0e525fe184ae711b4bbb37b9728776938b703de
Silence obstack.c -Wc++compat warning

* obstack.c (_obstack_newchunk): Silence -Wc++compat warning.
(_obstack_begin_worker): Likewise.  Move assignment to h->chunk
after alloc failure check.

From-SVN: r229989
libiberty/ChangeLog
libiberty/obstack.c