patch trunk: seek plugin also in a language specific directory when given a short name
Basile Starynkevitch
basile@starynkevitch.net
Mon Jun 20 20:12:00 GMT 2011
Hello All,
Reference http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00477.html - I
am essentially pinging it, but improving the ChangeLog entry.
The attached patch to trunk 175201 makes cc1, cc1plus, ... lto1 also
search a language specific subdirectory.
##### gcc/ChangeLog entry ######
2011-06-20 Basile Starynkevitch <basile@starynkevitch.net>
* plugin.c: Update copyright year.
(PLUGIN_FILE_SUFFIX): New macro.
(add_new_plugin): Short-named plugins are also searched in a
language-specific sub-directory.
* doc/plugins.texi (Loading Plugins): Document how short-named
plugins are searched in a language-specific sub-directory.
(Plugin callbacks): Remind that PLUGIN_PRAGMAS event is not
possible from lto1.
################################
Ok for trunk? With what changes?
Regards.
--
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: pluginslang_r175201.diff
Type: text/x-diff
Size: 4774 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110620/eccbd9ee/attachment.bin>
More information about the Gcc-patches
mailing list