public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [PATCH] Small pool-allocator fallback
Date: Mon, 01 Jun 2015 12:59:00 -0000	[thread overview]
Message-ID: <556C5736.7040303@suse.cz> (raw)

[-- 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

             reply	other threads:[~2015-06-01 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01 12:59 Martin Liška [this message]
2015-06-01 13:51 ` Martin Liška

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=556C5736.7040303@suse.cz \
    --to=mliska@suse.cz \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).