From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12138 invoked by alias); 15 Apr 2003 20:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 12118 invoked by uid 71); 15 Apr 2003 20:56:01 -0000 Date: Tue, 15 Apr 2003 20:56:00 -0000 Message-ID: <20030415205601.12117.qmail@sources.redhat.com> To: geoffk@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Geoff Keating Subject: Re: other/9274: [pch] cannot create libstdc++-v3 pch Reply-To: Geoff Keating X-SW-Source: 2003-04/txt/msg00718.txt.bz2 List-Id: The following reply was made to PR other/9274; it has been noted by GNATS. From: Geoff Keating To: bkoz@redhat.com Cc: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jason@redhat.com, pcarlini@unitus.it, gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: other/9274: [pch] cannot create libstdc++-v3 pch Date: Tue, 15 Apr 2003 13:46:48 -0700 > Date: Tue, 15 Apr 2003 10:39:48 -0500 > From: Benjamin Kosnik > >The original reported bug does work on Darwin, as does running > >make-check-target-libstdc++-v3 after running make > >stamp-stdc++-precompile. Of course, Darwin doesn't use DWARF2. > > With this patch, things now work on linux. Thanks for your help. > > >This patch might help. Try it and see what happens. > > Indeed, it does. Can you check it in please? Done, with this ChangeLog: 2003-04-15 Geoffrey Keating * tree.c (next_decl_uid): Mark with GTY. (next_type_uid): Likewise. > >===File ~/patches/apple/gcc-pchdecluid.patch================ > >*** tree.c.~1.295.~ Fri Apr 11 19:01:38 2003 > >--- tree.c Mon Apr 14 14:56:53 2003 > >*************** > >*** 92,100 **** > > #endif /* GATHER_STATISTICS */ > > > > /* Unique id for next decl created. */ > >! static int next_decl_uid; > > /* Unique id for next type created. */ > >! static int next_type_uid = 1; > > > > /* Since we cannot rehash a type after it is in the table, we have to > > keep the hash code. */ > >--- 92,100 ---- > > #endif /* GATHER_STATISTICS */ > > > > /* Unique id for next decl created. */ > >! static GTY(()) int next_decl_uid; > > /* Unique id for next type created. */ > >! static GTY(()) int next_type_uid = 1; > > > > /* Since we cannot rehash a type after it is in the table, we have to > > keep the hash code. */ > >============================================================ -- - Geoffrey Keating