From: Dodji Seketeli Date: Thu, 20 Oct 2011 15:22:17 +0000 (+0000) Subject: Fix building ggc-zone.c X-Git-Tag: releases/gcc-4.7.0~2941 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24685ae9c5884ce29dacd06ed3673ae57ed3b4df;p=thirdparty%2Fgcc.git Fix building ggc-zone.c * 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. From-SVN: r180258 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eeed56d67e3f..83da507e0ba6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -10,6 +10,10 @@ 2011-10-20 Dodji Seketeli + * 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 79c8c0329667..5257ada28fa2 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