Tool/software: TI C/C++ Compiler
Hi,
I have a query on the usage of diable_inlining function.
I understand that for inlining a function, the code must be compiled with some level of optimization. I presume the function is not inlined with -Ooff even though I add inline keyword to the function. Please correct me if I am wrong.
Let say I have an inline function and the code is compiled with -O2. The same code, if I try to compile with -O2 and --disable_inlining option. Will there be any difference in the generated assembly code other than the added branch and return statements?
For example, func() which is an inline function that gets converted to assembly instructions X,Y,Z with -O2. Will same X,Y,Z be generted (with no added assmebly instructions) if compiled with -O2 and --disable_inlining?
Regards,
Veena
