Re[4]: IFS Kit and Visual Studio 2005

> Really, in my case, they weren’t exactly ‘different’

functions. Their codes were equivalent and compiler optimized using only
one of them.

In my case, the function that was called in the compiled code
did something else and caused crash of the application.

But yes, it can be the reason. Somehow, the compiler assumed
these two functions do the same thing and chose the wrong one.

It was easy to reproduce - /O1 caused correct behavior,
/O2 caused incorrect one. Later, we changed the layout of the function
(added more called functions into it) and the problem was gone.

L.