This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ggc-page.c : remove erroneous ATTRIBUTE_UNUSED


ggc_pch_write_object's parameter "d" is marked with ATTRIBUTE_UNUSED,
but in fact it is used in 4 places at the end of the function.

Successfully bootstrapped on x86_64-unknown-linux-gnu.

OK for trunk?

2013-06-14  David Malcolm  <dmalcolm@redhat.com>

	* ggc-page.c (ggc_pch_write_object) <d>: Remove erroneous
	ATTRIBUTE_UNUSED marking.


Index: gcc/ggc-page.c
===================================================================
--- gcc/ggc-page.c	(revision 200106)
+++ gcc/ggc-page.c	(working copy)
@@ -2291,7 +2291,7 @@
 }
 
 void
-ggc_pch_write_object (struct ggc_pch_data *d ATTRIBUTE_UNUSED,
+ggc_pch_write_object (struct ggc_pch_data *d,
 		      FILE *f, void *x, void *newx ATTRIBUTE_UNUSED,
 		      size_t size, bool is_string ATTRIBUTE_UNUSED)
 {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]