gengtype plugin improvement last3round -patch 3 [inputfile]

Basile Starynkevitch basile@starynkevitch.net
Thu Nov 4 18:07:00 GMT 2010


Hello All

Reference http://gcc.gnu.org/ml/gcc-patches/2010-10/msg01774.html

The attached patch improves gengtype with input_files.

I did try to take most Laurynas comment's into account. However, when he asked 
> +  if (UNION_OR_STRUCT_P (s))
> +    fn = s->u.s.line.file;
> +  else if (s->kind == TYPE_PARAM_STRUCT)
> +    fn = s->u.param_struct.line.file;
> 
> Can you submit this separately?

I am a bit surprised, since this patch is related to input_file also.

Do I really have to take the trouble to submit a separate patch and compile all of GCC with it?

I am attaching the diff to trunk 166319 & the gcc/ChangeLog entry.

Ok for trunk?

Cheers
-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gengtype-r166319-inputfile.diff
Type: text/x-diff
Size: 32296 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101104/8270c0a9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog.gengtype-r166319-inputfile
Type: application/octet-stream
Size: 1477 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101104/8270c0a9/attachment.obj>


More information about the Gcc-patches mailing list