[cfe-commits] [PATCH] mark __builtin_eh_return as noreturn

Benjamin Kramer benny.kra at googlemail.com
Mon Jul 26 15:06:22 PDT 2010


On 26.07.2010, at 23:57, Dimitry Andric wrote:

> Mark __builtin_eh_return as noreturn.  This is because currently the
> following simple fragment:
> 
> int f(long offset, void *handler)
> {
> 	__builtin_eh_return(offset, handler);
> }
> 
> produces "warning: control reaches end of non-void function
> [-Wreturn-type]".

Thanks, applied (r109452)



More information about the cfe-commits mailing list