[patch] Stop gengtype from emitting empty loops
Steven Bosscher
stevenb.gcc@gmail.com
Tue Jul 24 10:04:00 GMT 2012
On Tue, Jul 24, 2012 at 11:38 AM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> I think it merely points to a bogus GTY annotation, not sure if we want to
> gobble this kind of gengtype hacks which only benefit -O0 ...
>
> The annotation is libcpp/include/line-map.h
>
> In the example above x1 (for token "+") is going to be the same
> 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;
Right. I'm testing a patch that removes the marker.
Ciao!
Steven
More information about the Gcc-patches
mailing list