re PR bootstrap/43935 (Bootstrap failure: cc1: all warnings being treated as errors)

2010-04-29  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/43935
	* plugin.h (invoke_plugin_callbacks): Annotate arguments
	with ATTRIBUTE_UNUSED.

From-SVN: r158901
This commit is contained in:
Richard Guenther 2010-04-29 14:10:39 +00:00 committed by Richard Biener
parent 0d0539f0a8
commit 46e70c4ead
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-04-29 Richard Guenther <rguenther@suse.de>
PR bootstrap/43935
* plugin.h (invoke_plugin_callbacks): Annotate arguments
with ATTRIBUTE_UNUSED.
2010-04-29 H.J. Lu <hongjiu.lu@intel.com>
PR target/43921

View File

@ -44,7 +44,8 @@ extern void finalize_plugins (void);
GCC_DATA - event-specific data provided by the compiler */
static inline int
invoke_plugin_callbacks (int event, void *gcc_data)
invoke_plugin_callbacks (int event ATTRIBUTE_UNUSED,
void *gcc_data ATTRIBUTE_UNUSED)
{
#ifdef ENABLE_PLUGIN
/* True iff at least one plugin has been added. */