This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PCH in start_cleanup_fn
- From: Jason Merrill <jason at redhat dot com>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: Geoffrey Keating <gkeating at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Jun 2003 14:53:57 -0400
- Subject: Re: Patch for PCH in start_cleanup_fn
- References: <3EE627D6.8040202@student.tudelft.nl>
On Tue, 10 Jun 2003 20:47:50 +0200, Steven Bosscher <s.bosscher@student.tudelft.nl> wrote:
>> This is the final patch I committed. Bootstrapped & tested on powerpc-darwin.
>>
> ---- 8< ----
>> +2003-06-06 Andrew Pinski <pinskia@physics.uc.edu>
>> +
>> + * decl.c (start_cleanup_fn): Move static 'counter' out, mark with GTY.
>> + (start_cleanup_cnt): New.
>> +
>
> Hmm, maybe I am missing something, but if start_cleanup_cnt is new,
> then shouln't it be initialized somewhere, or is it automatically
> initialized to zero?
Variables with static storage duration are automatically zero-initialized.
Jason