This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for PCH in start_cleanup_fn



On Tuesday, June 10, 2003, at 11:47 AM, Steven Bosscher 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?

It's automatically initialized to zero, because it's "static".


--
Geoff Keating <geoffk@apple.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]