Antoine Pitrou, 21.11.2009 12:05:
> Christian Heimes <li...@...> writes:
>> Computed gotos are only available with some compilers. As far as I
>> remember they are supported by recent versions of GCC (IIRC 3.x and
>> newer), Intel's ICC and Sun's C compiler. MSVC doesn't have it for sure
>> and will probably never support, it since Microsoft is focusing on C#
>> rather than extending its C/C++ compiler.
>>
>> Antoine Pitrou has lead the implementation in Python 3.1. He might know
>> more details. I've included him in CC.
> 
> I don't know anything more than what you said :)
> Basically, it's a non-standard C feature, so you shouldn't rely on it being
> available everywhere and everytime.

Just to be sure, not only the computed goto itself is a non-standard
feature, but also taking the address of a label using "&&", right?

If the latter was portable, it would at least simplify the generated code
as we could switch on label addresses...

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to