summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/plugin.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ce3bcbfba33..5daa045df5f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/plugin.h b/gcc/plugin.h
index 13628ec910b..94663dd4a10 100644
--- a/gcc/plugin.h
+++ b/gcc/plugin.h
@@ -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. */