[fpc-devel] Question about $OPTIMIZATION LEVELn

Jonas Maebe jonas at freepascal.org
Wed Jan 17 16:38:53 CET 2018


On 16/01/18 18:13, Martok wrote:
> Is there even a use case for the current behaviour? I.e., when would one
> actually mean -Oolevel3 instead of -O3?

The LevelX switches are only intended for internal use by the compiler, 
and were never intended to be exposed. They should simply give a warning 
or error when used. The ability to have the equivalent of 
-O1/-O2/-O3/-O4 in source code was never planned.


Jonas



More information about the fpc-devel mailing list