Previously I was using Borland compiler for my project and currently switched to Paradigm compiler.
I came across a peculiar situation. I have a piece of code which has no effect during execution. This no-use code behaves/causes no issue when compiled in Borland, but causes some register corruption when compiled from Paradigm. Following is the code block.
if (VarA == TRUE)
{
//No code - for future implementation.
}
Once the IF case passes it will execute code inside the case, unfortunately that block will be implemented in future, so no code inside that.
Will Paradigm compiler really cause/corrupt any problem for this situation ? or Paradigm is doing some optimisation during compilation ?
-- VP