This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Jul 2012 09:42:53 +0000
- Subject: [Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost
- Auto-submitted: auto-generated
- References: <bug-53880-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880
--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-24 09:42:53 UTC ---
(In reply to comment #11)
> > Err, isn't the GTY annotation in
> >
> > as y1. x0 is the spelling location for the argument token "1",
> > and x2 is the spelling location for the argument token "2". */
> > source_location * GTY((length ("2 * %h.n_tokens"))) macro_locations;
> >
> > simply pointless?
>
> I don't think so. You still want to pointer-rewrite it if you output a PCH.
The pointer to the array, but not the array elements. So it's pointless
to know the length and
souce_location * macro_locations;
should still rewrite the pointer itself, no?