PATCH: adding invoking_program to plugin_gcc_version

Richard Guenther richard.guenther@gmail.com
Wed Jun 1 09:20:00 GMT 2011


On Wed, Jun 1, 2011 at 8:05 AM, Basile Starynkevitch
<basile@starynkevitch.net> wrote:
> On Wed, 1 Jun 2011 07:52:48 +0200
> Basile Starynkevitch <basile@starynkevitch.net> wrote:
>
>>
>> Hello All,
>>
>> The attached patch to trunk 174518 adds a field invoking_program to the
>> plugin_gcc_version structure. It informs the plugin about the program
>> "cc1", "cc1plus", "lto1" using them.
>
> Wrong patch, here is a better one
>
> ######### gcc/ChangeLog entry ##########
> 2011-06-01  Basile Starynkevitch  <basile@starynkevitch.net>
>
>        * gcc-plugin.h (struct plugin_gcc_version): Add invoking_program field.
>
>        * configure.ac: Ditto.
>
>        * configure: Regenerate.
>
>        * plugin.c (initialize_plugins): Set invoking_program.
>
> ########################################
>
> Ok if it bootstraps?

It's redundant information with lang_hooks.name.  So, NO!  (yes,
again, no!)

Richard.

> 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} ***
>



More information about the Gcc-patches mailing list