This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Function specific optimizations call for discussion
On Thu, 29 Nov 2007, Michael Meissner wrote:
> > I'm wondering if this proposal would support specifying things
> > like adding -frounding-math when compiling specific functions.
> > ( This particular case is connected to pragma FENV_ACCESS though. )
>
> I imagine it could be made to work once the infrastructure is in place. I had
> forgotten about the C99 math pragmas.
Stephen Moshier's testcases for FENV_ACCESS, attached to PR 20785, may be
of use (though more tests may also be needed, certainly for the other
pragmas).
--
Joseph S. Myers
joseph@codesourcery.com