Jump to Location -- C++ Example

In the example below, if you have stepped over the assignment to var2, and you select the if line and issue a Jump to Location command followed by two Step Into commands, execution stops at the first line of func2 instead of func1:

//...
var1=11;
var2=12;  // just stepped over this statement
var1=12;
if (var1==var2) func1();
else func2();