From: Dodji Seketeli <dodji@seketeli.org>
To: Basile Starynkevitch <basile@starynkevitch.net>
Cc: gcc@gcc.gnu.org, GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: trunk (rev 180248) not buildable --with-gc=zone: undefined ggc_alloced_size_for_request
Date: Thu, 20 Oct 2011 15:42:00 -0000 [thread overview]
Message-ID: <m3mxcvk7n2.fsf@seketeli.org> (raw)
In-Reply-To: <20111020124532.GA15333@ours.starynkevitch.net> (Basile Starynkevitch's message of "Thu, 20 Oct 2011 14:45:32 +0200")
Basile Starynkevitch <basile@starynkevitch.net> a écrit:
> libbackend.a(ggc-zone.o): In function `ggc_internal_alloc_zone_stat':
> /usr/src/Lang/gcc-trunk-bstarynk/gcc/ggc-zone.c:1105: undefined reference to `ggc_alloced_size_for_request'
This is my fault. I have tested and committed the below as per the
obvious rule.
Sorry for the inconvenience.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index eeed56d..83da507 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -10,6 +10,10 @@
2011-10-20 Dodji Seketeli <dodji@redhat.com>
+ * ggc-zone.c (ggc_internal_alloc_zone_stat): Rename
+ ggc_alloced_size_order_for_request into ggc_round_alloc_size like
+ it was done in ggc-page.c.
+
PR other/50659
* doc/cppopts.texi: Use @smallexample/@end smallexample in
documentation for -fdebug-cpp instead of @quotation/@end quotation
diff --git a/gcc/ggc-zone.c b/gcc/ggc-zone.c
index 79c8c03..5257ada 100644
--- a/gcc/ggc-zone.c
+++ b/gcc/ggc-zone.c
@@ -1102,7 +1102,7 @@ ggc_internal_alloc_zone_stat (size_t orig_size, struct alloc_zone *zone
struct small_page_entry *entry;
struct alloc_chunk *chunk, **pp;
void *result;
- size_t size = ggc_alloced_size_for_request (orig_size);
+ size_t size = ggc_round_alloc_size (orig_size);
/* Try to allocate the object from several different sources. Each
of these cases is responsible for setting RESULT and SIZE to
--
Dodji
prev parent reply other threads:[~2011-10-20 15:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-20 13:53 Basile Starynkevitch
2011-10-20 15:42 ` Dodji Seketeli [this message]
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=m3mxcvk7n2.fsf@seketeli.org \
--to=dodji@seketeli.org \
--cc=basile@starynkevitch.net \
--cc=gcc-patches@gcc.gnu.org \
--cc=gcc@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).