Hi,
There is no option can avoid all the optimization of compiler.
If a variable or function is never used by program, it may be optimized by compiler. To prevent global variable or function that being optimized, we need take use of “ENTRIES”.
in prm file, there is a section called “ENTRIES”, insert the global variables or functions into this section can avoid they optimized by compiler. For example,
ENTRIES
var1 var2 func1 func2
END
Thus variable var1, var2 and function func1,func2 will not be optimized by compiler.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------