This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] labels after returns


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]