[cfe-dev] [RFC] A proposal for #pragma optnone

Renato Golin renato.golin at linaro.org
Tue Apr 29 16:01:08 PDT 2014


On 29 April 2014 22:58, Hal Finkel <hfinkel at anl.gov> wrote:
> Personally, I don't care that it is spelled like gcc's pragma. But I suppose having it (however it is spelled), and I think that it should not be spelled exactly like gcc's pragma. There seemed to be some opinions (by other people) that we don't want to invent new pragmas, thus the rationale for emulating gcc, but in this particular case, we *want* incompatibility, and so I don't find their arguments compelling.

This is only a valid argument on the "clang miscompiles" use case, not
in the "debug specific function" use case. IMO, the second case is a
lot more important and long lasting than the first.

cheers,
--renato




More information about the cfe-dev mailing list