This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Little ggc-common cleanup
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Laurynas Biveinis <laurynas dot biveinis at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 25 May 2010 10:40:51 +0200
- Subject: Re: [PATCH] Little ggc-common cleanup
- References: <AANLkTinbgk35N1WcAmmatoeWnfqo4oaJ01LubqKy6YII@mail.gmail.com>
On Tue, May 25, 2010 at 7:10 AM, Laurynas Biveinis
<laurynas.biveinis@gmail.com> wrote:
> Broken out of main gc-improv merge patchset:
>
> In ggc-common.c, init_ggc_heuristics () calls ggc_min_expand_heuristic
> () and ggc_min_heapsize_heuristic () only if !defined
> ENABLE_GC_CHECKING && !defined ENABLE_GC_ALWAYS_COLLECT. Thus compile
> these functions under the same condition and make them static.
>
> Bootstrapped/regtested with the rest of gc-improv on x86_64-linux.
>
> OK for trunk?
Ok.
Thanks,
Richard.
> 2010-05-24 ?Laurynas Biveinis ?<laurynas.biveinis@gmail.com>
>
> ? ? ? ?* ggc-common.c: Update copyright year.
> ? ? ? ?(ggc_rlimit_bound): Remove prototype. ?Compile only if
> ? ? ? ?!ENABLE_GC_CHECKING && !ENABLE_GC_ALWAYS_COLLECT.
> ? ? ? ?(ggc_min_heapsize_heuristic): Compile only if !ENABLE_GC_CHECKING
> ? ? ? ?&& !ENABLE_GC_ALWAYS_COLLECT. ?Make static.
> ? ? ? ?(ggc_min_heapsize_heuristic): Likewise.
>
> --
> Laurynas
>