[cs] new init_once langhook patch

Per Bothner per@bothner.com
Thu Aug 14 21:20:00 GMT 2003


I've checked this into the compile-server branch.
I haven't tested it by itself, though it seems likely
that it would also work on the trunk.

This adds a new lang hook for "once" initialization.
It also renames the init hook to init_eachsrc, following
the new naming convention, but I didn't change the
LANG_HOOKS_INIT macro since that would require changing
all the front-end.

The patch also includes some initial changes to toplev.c
to separate out appropriate stuff in init_compile_once,
including calling the new call-back.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: init-once-hook.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030814/99fa96b8/attachment.ksh>


More information about the Gcc-patches mailing list