Am 08.08.24 um 11:09 schrieb Mikael Morin:
As we are not planning to remove the library implementation (-Os!),
this is also the best way to compare library to inline code.
This makes perfect sense, but why reuse the -ffrontend-optimize option?
The manual describes it as:
This option performs front-end optimization, based on manipulating
parts the Fortran parse tree
These patches are about inlining, there is no manipulation of the parse
tree. So I would rather use a separate option (-finline-intrinsics?).
I concur, -ffrontend-optimize should remain specific to manipulating
the parse tree.
Having a -finline-intrinsic options, which would be set at any
optimization level except -Os, may be the right way forward.
Or something else :-)
Best regards
Thomas