Patch: switch c-format.c to use pool instead of GC

Tom Tromey
Sun Sep 2 03:16:00 GMT 2007

>>>>> "Laurynas" == Laurynas Biveinis <> writes:

Laurynas> +static alloc_pool fwt_pool;

This at least needs a comment.

The code is kind of twisty here, but I was wondering if this could be
allocated locally in check_format_arg and passed as an argument to

Any front-end global that can be deleted is helpful to my incremental
compiler project :-), and IMNSHO also to clarity.  I know there are a
bunch of other globals in that file.  Eventually I hope to delete
them; meanwhile, if it is not too hard it would be nice not to
introduce new ones.


More information about the Gcc-patches mailing list