Patch: remove useless allocations from C FE

Tom Tromey tromey@redhat.com
Fri Sep 28 23:38:00 GMT 2007


>>>>> "Joseph" == Joseph S Myers <joseph@codesourcery.com> writes:

Tom> DECL_LANG_SPECIFIC is not used by the C front end.  So, there's no
Tom> reason to allocate it.

Joseph> OK.  I'd expect you can remove the c_dup_lang_specific_decl
Joseph> langhook as well.

I'm using DECL_LANG_SPECIFIC in the C front end on the incremental
compiler branch.  So, it is a little more convenient to me to keep
this around.

However, if you feel strongly about it, I will write a patch to remove
it from the trunk.  I suppose I could preserve it when I merge to the
branch and then reincarnate it when I merge back to trunk.

Tom



More information about the Gcc-patches mailing list