Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Query on Vector Cast Tool

  1. May 25, 2012 #1
    I am using VectorCast tool to Unit Test the code written in C language.

    Brief Description:-The following piece of code (which is present in source code) is getting optimized in VectorCast at Disassembly Level. Hence, the code is not even visible in VectorCast Disassembly.


    In Function ffx_ScheduleInsertCCEvent() :- The Following Code is getting Optimized in VectorCast automatically and hence, the If condition is not getting hit.

    if ( FFX_Scheduler.PendingCCFreeList == NULL )
    FM_ASSERTION_RESET_FAULT( AF_FFX_PCCLIST_OVERFLOW, (UINT32) Signal, callers_address() );

    Due to the Code Optimization by VectorCast, the piece of code is not visible in the Disassembly while debugging. Plus, the FM_ASSERTION_RESET_FAULT is not getting hit and the Test case is getting terminated Abnormally.

    Does anybode has a solution to this problem.
  2. jcsd
  3. May 25, 2012 #2


    Staff: Mentor

    I'm not familiar with VectorCast, but is there some way to turn off code optimization? I would think there's a flag you could set when the code is compiled. I would take a look at the documentation for this tool to see if that is a possibility.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Query Vector Cast Date
Is it all in the angle? Jan 3, 2018
Embarrassingly Simple SQL Server query: List Even numbers in... May 2, 2017
Basic SQL queries Jan 20, 2016
Including Nulls in Query. Dec 21, 2015
Fortran functions query Oct 28, 2015