[cfe-dev] [RFC] A proposal for #pragma optnone
Hal Finkel
hfinkel at anl.gov
Tue Apr 29 18:27:57 PDT 2014
----- Original Message -----
> From: "Renato Golin" <renato.golin at linaro.org>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: "Paul Robinson" <Paul_Robinson at playstation.sony.com>, "clang-dev Developers" <cfe-dev at cs.uiuc.edu>
> Sent: Tuesday, April 29, 2014 6:01:08 PM
> Subject: Re: [cfe-dev] [RFC] A proposal for #pragma optnone
>
> 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.
What exactly do you mean? Is this a function that you intend only to call from within an interactive debugger?
-Hal
>
> cheers,
> --renato
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the cfe-dev
mailing list