This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Computed gotos


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]