[tree-ssa] labels after returns
Graham Stott
graham.stott@btinternet.com
Mon Apr 12 17:12:00 GMT 2004
Diego Novillo wrote:
> On Mon, 2004-04-12 at 12:35, law@redhat.com wrote:
>
>
>> >Regardless. Are they not invalid?
>>It is valid code.
>>
>
> OK. I must've confused it with some other problem then. Something
> about labels not allowed right before the closing brace. But I don't
> pay enough attention to these things.
GCC used to allow (not sure if it still does)
label: }
The standard requires a statement after the label even if it's
an empty
label:
;
}
>
>
> Thanks. Diego.
>
Cheers
Graham
More information about the Gcc
mailing list