[PATCH] Cleanup some remains from the obstack days.
Sun Apr 6 19:55:00 GMT 2003
Steven Bosscher <email@example.com> writes:
> This seemed like a nice cleanup. Deletes ~120 lines.
> OBSTACK_CHUNK_ALLOC and OBSTACK_CHUNK_FREE are never redefined
> by any target, so I removed them. Targets still can redefine
> the default functions by simply redefining obstack_chunk_alloc
> and obstack_chunk_free, which are in defaults.h.
> OBSTACK_CHUNK_SIZE was never redefined anywhere either, so I
> moved it to defaults.h.
> Now gcc_obstack_init can be a define instead of a function that
> is duplicated in three different source files. It is not a target
> default, but because every file that uses gcc_obstack_init depends
> on defaults.h, and since the obstack_chunk_* defines are there as
> well, it seemed like the least unappropriate place to define it.
> Also kills an unused function from tree.c, and cleans up some stuff
> in tree.h.
> Bootstrapped on i586-pc-linux-gnu. OK for mainline after
OK with the correction you posted later.
More information about the Gcc-patches