Local optimization options
Richard Biener
richard.guenther@gmail.com
Sat Jul 4 17:11:52 GMT 2020
On July 4, 2020 11:30:05 AM GMT+02:00, "Thomas König" <tk@tkoenig.net> wrote:
>Hi,
>
>in Fortran, it would sometimes be useful to have a different
>optimization
>depending on whether we generate inlined code for intrinsics (where we
>know when it is OK to „go wild“) or user code, where we need to
>adhere (for example) to IEEE semantics unless otherwise instructed
>by the user.
>
>What could be a preferred way to achieve that? Could optimization
>options like -ffast-math be applied to blocks instead of functions?
>Could we set flags on the TREE codes to allow certain optinizations?
>Other things?
The middle end can handle those things on function granularity only.
Richard.
>Regards, Thomas
More information about the Gcc
mailing list