[cfe-dev] [RFC] A proposal for #pragma optnone
Renato Golin
renato.golin at linaro.org
Tue Apr 29 06:39:44 PDT 2014
On 29 April 2014 12:33, Hal Finkel <hfinkel at anl.gov> wrote:
> As Chandler points out, you would want to put them inside function bodies to catch lambdas. However, we should issue a warning in this case.
We can easily skip that semantics for now. GCC doesn't allow it:
error: #pragma GCC optimize is not allowed inside functions
cheers,
-renato
More information about the cfe-dev
mailing list