This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unit at a time and C PCH
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Diego Novillo" <dnovillo at google dot com>
- Cc: "Jan Hubicka" <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Wed, 18 Jun 2008 08:14:33 -0700
- Subject: Re: Unit at a time and C PCH
- References: <20080618145341.GO7888@kam.mff.cuni.cz> <4859256E.4010904@google.com>
Glibc uses -fno-unit-at-a-time.
H.J.
---
On Wed, Jun 18, 2008 at 8:10 AM, Diego Novillo <dnovillo@google.com> wrote:
> On 6/18/08 10:53 AM, Jan Hubicka wrote:
>
>> * c-opts.c (c_common_post_options): PCH is not compatible with
>> no-unit-at-a-time.
>> * opts.c (handle_options): Enable unit-at-a-time at O0 along with
>> -fno-toplevel-reorder by default now.
>
> OK. I'm almost tempted to go further and consider removing
> no-unit-at-a-time completely. What are the cases where -fno-unit-at-a-time
> is useful?
>
>
> Diego.
>
--
H.J.