* [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
* Re: [PATCH] Small pool-allocator fallback
2015-06-01 12:59 [PATCH] Small pool-allocator fallback Martin Liška
@ 2015-06-01 13:51 ` Martin Liška
0 siblings, 0 replies; 2+ messages in thread
From: Martin Liška @ 2015-06-01 13:51 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
On 06/01/2015 02:59 PM, Martin Liška wrote:
> 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
>
Hello.
This is second small correction that corrects broken bootstrap on xstormy16-elf:
http://toolchain.lug-owl.de/buildbot/deliver_artifact.php?mode=view&id=3918338
I'm going to install the patch as obvious.
Thanks,
Martin
[-- Attachment #2: 0001-Fix-pool_allocator-fallback.patch --]
[-- Type: text/x-patch, Size: 747 bytes --]
From b0fb57c01a224d402dc9fb859f6be17ed57f759d Mon Sep 17 00:00:00 2001
From: mliska <mliska@suse.cz>
Date: Mon, 1 Jun 2015 15:47:43 +0200
Subject: [PATCH] Fix pool_allocator fallback.
gcc/ChangeLog:
2015-06-01 Martin Liska <mliska@suse.cz>
* sched-deps.c: Include pool-alloc.h before
cselib.h header file is included.
---
gcc/sched-deps.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 30d4630..d3ae80b 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -54,6 +54,7 @@ along with GCC; see the file COPYING3. If not see
#include "basic-block.h"
#include "sched-int.h"
#include "params.h"
+#include "alloc-pool.h"
#include "cselib.h"
#include "ira.h"
#include "target.h"
--
2.1.4
^ 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).