r158247 - in /trunk/gcc: ChangeLog Makefile.in ...

doko@gcc.gnu.org doko@gcc.gnu.org
Mon Apr 12 23:58:00 GMT 2010


Author: doko
Date: Mon Apr 12 23:58:18 2010
New Revision: 158247

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158247
Log:
gcc/

2010-04-13  Matthias Klose  <doko@ubuntu.com>

	* gcc.c (cc1_options): Handle -iplugindir before processing
	the cc1 spec. Only add -iplugindir once.
	(cpp_unique_options): Add -iplugindir option if -fplugin* options
	found.
	* common.opt (iplugindir): Remove `Separate' property, initialize.
	* plugin.c (default_plugin_dir_name): Error with missing -iplugindir
	option.
	* Makefile.in (check-%, check-parallel-%): Create plugin dir.
	(distclean): Remove plugin dir.

2010-04-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* doc/plugins.texi (Loading Plugins): Document short
	-fplugin=foo option.
	(Plugin API): Mention default_plugin_dir_name function.

	* gcc.c (find_file_spec_function): Add new declaration.
	(static_spec_func): Use it for "find-file".
	(find_file_spec_function): Add new function.
	(cc1_options): Add -iplugindir option if -fplugin* options found.

	* gcc-plugin.h (default_plugin_dir_name): Added new declaration.

	* plugin.c (add_new_plugin): Updated comment, and handle short
	plugin name.
	(default_plugin_dir_name): Added new function.

	* common.opt (iplugindir): New option to set the plugin
	directory.

gcc/testsuite/

2010-04-13  Matthias Klose  <doko@ubuntu.com>

	* gcc.dg/plugindir1.c: New testcase.
	* gcc.dg/plugindir2.c: New testcase.
	* gcc.dg/plugindir3.c: New testcase.
	* gcc.dg/plugindir4.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/plugindir1.c
    trunk/gcc/testsuite/gcc.dg/plugindir2.c
    trunk/gcc/testsuite/gcc.dg/plugindir3.c
    trunk/gcc/testsuite/gcc.dg/plugindir4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/common.opt
    trunk/gcc/doc/invoke.texi
    trunk/gcc/doc/plugins.texi
    trunk/gcc/gcc-plugin.h
    trunk/gcc/gcc.c
    trunk/gcc/plugin.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list