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] Small pool-allocator fallback


Hello.

This is small fallback related to pool-allocator patch.
I'm going to install it as obvious.

gcc/ChangeLog:

2015-06-01  Martin Liska  <mliska@suse.cz>

	* alloc-pool.h: Add ATTRIBUTE_UNUSED for
	a function local variable. 

Thanks,
Martin
Index: gcc/alloc-pool.h
===================================================================
--- gcc/alloc-pool.h	(revision 223973)
+++ gcc/alloc-pool.h	(working copy)
@@ -359,7 +359,7 @@
   gcc_checking_assert (m_initialized);
 
   allocation_pool_list *header;
-  int size;
+  int size ATTRIBUTE_UNUSED;
   size = m_elt_size - offsetof (allocation_object<T>, u.data);
 
 #ifdef ENABLE_CHECKING

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