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?

Reply via email to