re PR bootstrap/43935 (Bootstrap failure: cc1: all warnings being treated as errors)
authorRichard Guenther <rguenther@suse.de>
Thu, 29 Apr 2010 14:10:39 +0000 (14:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 29 Apr 2010 14:10:39 +0000 (14:10 +0000)
2010-04-29  Richard Guenther  <rguenther@suse.de>

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

From-SVN: r158901

gcc/ChangeLog
gcc/plugin.h

index ce3bcbfba332c7ccb872d430112259ab64406265..5daa045df5f876bb7f38e94e5855c29420d6f014 100644 (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
index 13628ec910b9e154f3bcfd93b9a34b3977bfe860..94663dd4a10c53fd2ec05251a6e50d4967fa7509 100644 (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.  */