[cfe-dev] computed goto/labels as values in interpreters

Eli Friedman eli.friedman at gmail.com
Fri Aug 17 10:40:56 PDT 2012


On Fri, Aug 17, 2012 at 8:14 AM, Carsten Mattner
<carstenmattner at gmail.com> wrote:
> After searching list archives and bug reports I wasn't able to conclude
> whether computed goto/labels as values as used in Erlang and other (Guile)
> interpreters is supported in clang 3.1. With some BSDs working to make
> clang/clang++ the base cc/c++ this is going to be even more important.
>
> Is clang 3.1 supposed to compile beam_emu.c correctly and with the
> same or comparable optimization result?
>
> https://github.com/erlang/otp/blob/master/erts/emulator/beam/beam_emu.c

Yes, it's supposed to.

-Eli



More information about the cfe-dev mailing list