Local optimization options
Sat Jul 4 17:11:52 GMT 2020
On July 4, 2020 11:30:05 AM GMT+02:00, "Thomas König" <email@example.com> wrote:
>in Fortran, it would sometimes be useful to have a different
>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?
The middle end can handle those things on function granularity only.
More information about the Gcc