Consistency check failures: Call must have a call target<p>Hi,<br/>I'm doing the following. I'm taking an instruction and making another copy of it. After doing an instruction.Copy(), I copy all its non-implicit operands, by going in a foreach loop and doing a continue on IsImplicit. <br/>The problem is that I'm getting this error list.<br/><br/>------------------------------------------------------------------------------------------------------<br/><br/>Consistency check failures after Isolator Instrumentation Phase<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 0] during Isolator Instrumentation Phase<br/>  in (Module) ../testFiles/testFunc.c<br/>d:\users\t-ashaga\phoenixprojects\testfiles\testfunc.c(27) : warning C4700: uninitialized</p> <p>Consistency check failures after Warnings Analysis Phase<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Warnings Analysis Phase<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Read-only globals<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Read-only globals<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Inliner<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Inliner<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Dead Parameter Removal<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Dead Parameter Removal<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Type Checker<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 30] during Type Checker<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after OpenMP<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 30] during OpenMP<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Alias analysis<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 30] during Alias analysis<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Flow Optimization<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/><br/><br/>------------------------------------------------------------------------------------------------------<br/>Interestingly, {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27 is the original instruction<br/><br/>Can somebody please help. <br/><br/>Thanks and Regards,<br/>If If</p>© 2009 Microsoft Corporation. All rights reserved.Wed, 03 Jun 2009 16:41:44 Zc5f0221a-e2d1-49c9-8d6c-53fc9655dda2http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/c5f0221a-e2d1-49c9-8d6c-53fc9655dda2#c5f0221a-e2d1-49c9-8d6c-53fc9655dda2http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/c5f0221a-e2d1-49c9-8d6c-53fc9655dda2#c5f0221a-e2d1-49c9-8d6c-53fc9655dda2if ifhttp://social.msdn.microsoft.com/Profile/en-US/?user=if%20ifConsistency check failures: Call must have a call target<p>Hi,<br/>I'm doing the following. I'm taking an instruction and making another copy of it. After doing an instruction.Copy(), I copy all its non-implicit operands, by going in a foreach loop and doing a continue on IsImplicit. <br/>The problem is that I'm getting this error list.<br/><br/>------------------------------------------------------------------------------------------------------<br/><br/>Consistency check failures after Isolator Instrumentation Phase<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 0] during Isolator Instrumentation Phase<br/>  in (Module) ../testFiles/testFunc.c<br/>d:\users\t-ashaga\phoenixprojects\testfiles\testfunc.c(27) : warning C4700: uninitialized</p> <p>Consistency check failures after Warnings Analysis Phase<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Warnings Analysis Phase<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Read-only globals<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Read-only globals<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Inliner<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Inliner<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Dead Parameter Removal<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 27] during Dead Parameter Removal<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Type Checker<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 30] during Type Checker<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after OpenMP<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 30] during OpenMP<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Alias analysis<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>Phoenix Assertion Failure: d:\enlistments\sdk_june08\src\phx\ir\ir-check.cpp, Line 1954<br/>  !this-&gt;HaveEmittedDiagnostic : Consistency check failures<br/>  in (Function number 2) _main [line 30] during Alias analysis<br/>  in (Module) ../testFiles/testFunc.c</p> <p>Consistency check failures after Flow Optimization<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv294-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv300-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv291-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv306-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv303-]*, [tv285-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv309-]*, $L5(EH) #27<br/>   Call must have a call target<br/>         {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27<br/><br/><br/>------------------------------------------------------------------------------------------------------<br/>Interestingly, {*CallTag}        = CALL* &amp;_foobar, [tv287-]*, [tv286-]*, [tv285-]*, $L5(EH) #27 is the original instruction<br/><br/>Can somebody please help. <br/><br/>Thanks and Regards,<br/>If If</p>Thu, 28 May 2009 09:29:25 Z2009-05-28T09:29:25Zhttp://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/c5f0221a-e2d1-49c9-8d6c-53fc9655dda2#fd4ff940-db25-4588-9db2-4d9772dc10a6http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/c5f0221a-e2d1-49c9-8d6c-53fc9655dda2#fd4ff940-db25-4588-9db2-4d9772dc10a6Andy Ayers - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Andy%20Ayers%20-%20MSFTConsistency check failures: Call must have a call targetAnnoyingly, you need to special-case the first source operand on a call.<br/><br/>If you are copying a call, use &quot;call.CallTargetOperand = &lt;new operand&gt;&quot; instead of appending the first source. Then append the remaining sources as usual. Or use the constructor that takes the call target operand as a parameter, and then append the rest of the sources.<hr class="sig">Architect - Microsoft Phoenix ProjectWed, 03 Jun 2009 16:41:44 Z2009-06-03T16:41:44Z