This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] fix opt/13798
- From: Richard Henderson <rth at redhat dot com>
- To: "S. Bosscher" <S dot Bosscher at student dot tudelft dot nl>
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 28 Jan 2004 10:37:17 -0800
- Subject: Re: [tree-ssa] fix opt/13798
- References: <4195D82C2DB1D211B9910008C7C9B06F01F37414@lr0nt3.lr.tudelft.nl>
On Wed, Jan 28, 2004 at 01:03:38PM +0100, S. Bosscher wrote:
> > ! /* Create a new temporary name with PREFIX. Returns an indentifier. */
> >
> > ! static GTY(()) unsigned int tmp_var_id_num;
> > !
> > ! static tree
>
> Why the GTY for this variable? The only reason I can think of, is
> that it needs to be there for PCH, but I thought we were supposed
> to be done compiling headers before anythink is gimplified???
Oh yes. I forgot to mention this.
It's something I noticed when debugging PCH vs non-PCH compiles.
It really does make a difference in the numbers assigned between
the two. I would guess that we're gimplifying too early in a lot
of cases.
r~