This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: compiler tweak offered
>>>>> "Zack" == Zack Weinberg <zack@codesourcery.com> writes:
Zack> It would be better to use real labels:
Zack> outer: for (elt=root; elt; elt=elt->link)
Zack> { while (...)
FWIW, this is what Java does. It seems mildly useful. There are only
3 instances of it in all of libgcj. Though libgcj may not be the most
representative code, being mostly written by people with a long C
background. I typically forget that this construct is even available.
To my mind it would be preferable to keep the Java syntax (and
semantics) if this were to be imported into C.
Tom