besides on or off, inlining is not under the user's influence afaik
I meant my own inlining, not compiler decided inlining. I have a type helper where I would like to have a specific method inlined or not, depending on -Os active or not.
Only short options are testable with $ifopt, and that is only level 2 optimization
So there is no short option for $OPTIMIZATION SIZE that I can use in my type helper method to detect if specific optimization is active? Something like:
procedure SetBit(const aIndex: TQuadwordBits; const aNewValue: boolean); {$IFOPT SOME_SHORT_NAME_FOR_OPT_SIZE_SWITCH+} {$ELSE} inline;{$ENDIF}
Is it sensible/reasonable to ask for it in bug tracker?
Thanks! I appreciate your input.