aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-04-29 14:10:39 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-04-29 14:10:39 +0000
commit46e70c4ead6b119b07fde234427b6911c2e6816d (patch)
tree05c76527f3873016a909da223d2ee4a76c0e1381 /gcc
parent0d0539f0a81f167dfcf9adeeff25eb74384cdcc6 (diff)
downloadgcc-46e70c4ead6b119b07fde234427b6911c2e6816d.zip
gcc-46e70c4ead6b119b07fde234427b6911c2e6816d.tar.gz
gcc-46e70c4ead6b119b07fde234427b6911c2e6816d.tar.bz2
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
Diffstat (limited to 'gcc')
-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 ce3bcbf..5daa045 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 13628ec9..94663dd 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. */