[lto][patch] Don't write DECL_CONTEXT of LABEL_DECLs
Sat Jan 24 16:05:00 GMT 2009
On Sat, Jan 24, 2009 at 11:00, Rafael Espindola <firstname.lastname@example.org> wrote:
> I don't think so. We have two independent representations. While
> writing functions we use a different output block then when writing
> globals (and things reachable from globals). In fact, when writing
> functions we use output_label_ref that eventually gets output with
> output_string in output_named_labels. When writing things reachable
> from globals, we use output_label_decl. In fact, a label that in
> reachable from a static variable is written twice and no relation
> among them is recorded :-(
That's not what I meant.
In the reader, when reading function bodies, notice how we set the
context of the label contained in a GIMPLE_LABEL. That's all, it was
just an observation.
More information about the Gcc-patches