manpage: -floop-labels

This commit is contained in:
Wolfgang Bumiller 2012-12-28 00:21:59 +01:00
parent 03c079cb8c
commit fb30f11bc1

View file

@ -373,6 +373,23 @@ compilation to stop. When disabling this flag by using
\-fno-bail-on-werror, compilation will continue until the end, but no \-fno-bail-on-werror, compilation will continue until the end, but no
output is generated. Instead the first such error message's context is output is generated. Instead the first such error message's context is
shown. shown.
.TP
.B -floop-labels
Allow loops to be labeled, and allow 'break' and 'continue' to take an
optional label to decide which loop to actually jump out of or
continue.
.sp
.in +4
.nf
for :outer (i = 0; i < n; ++i) {
while (inner) {
...;
if (something)
continue outer;
}
}
.fi
.in
.SH OPTIMIZATIONS .SH OPTIMIZATIONS
.TP .TP
.B -Opeephole .B -Opeephole