[plugins][patch] GC for plugins. Part1

Rafael Espindola espindola@google.com
Mon Sep 21 22:38:00 GMT 2009


I am going over some old patches for plugins. I found Basile's patch to fix
gengtype when running in plugin mode:

http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01108.html

I am not familiar with the GC code, so I decide to split it up to make it
easier to understand. I have also changed it a bit.

The first patch just adds an outf_p argument to write_types, and write_local.
In plugin mode we want these functions to write to a different file. Having
the argument makes the switch easier and the following patches smaller.

2009-09-16  Basile Starynkevitch  <basile@starynkevitch.net>
	    Rafael Avila de Espindola  <espindola@google.com>

	* gengtype.c (write_types, write_local): Add the output_header
	argument. Update all callers.

Cheers,
-- 
Rafael Avila de Espindola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gengtype1.patch
Type: text/x-diff
Size: 6338 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090921/74869ee5/attachment.bin>


More information about the Gcc-patches mailing list