[tree-ssa] Computed gotos

Richard Henderson rth@redhat.com
Mon Jun 16 19:55:00 GMT 2003


On Mon, Jun 16, 2003 at 09:00:29AM -0600, law@redhat.com wrote:
>  >Apparently you set FORCED_LABEL.
>
> Or more correctly, it should be set during the gimplification process.
> If the gimplifier isn't automatically setting FORCED_LABEL for the
> labels in question, then we'd likely consider that a bug.

Maybe.  Thing is, in rtl-land, the forced_label list is those
labels whose address is taken in an initializer for static storage.

Labels whose address is taken in code are put on a separate list.
This is important because the code that takes the address can be
deleted, at which point it isn't a forced label anymore.

Seems like we should do something similar in gimple-land.


r~



More information about the Gcc mailing list