This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Small pool-allocator fallback
- From: Martin LiÅka <mliska at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 01 Jun 2015 14:59:34 +0200
- Subject: [PATCH] Small pool-allocator fallback
- Authentication-results: sourceware.org; auth=none
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