public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Small pool-allocator fallback
@ 2015-06-01 12:59 Martin Liška
  2015-06-01 13:51 ` Martin Liška
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2015-06-01 12:59 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

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

[-- Attachment #2: allocator-fallback.patch --]
[-- Type: text/x-patch, Size: 395 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-01 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-01 12:59 [PATCH] Small pool-allocator fallback Martin Liška
2015-06-01 13:51 ` Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).