Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MAEC TOOL NEWS: MAECT-NC308WA-010516D

NC308WA V.3.10 Release 2 and
NC30WA V.4.00 Release 2
Precautions

Please take note of the following problem in using C compilers (with an assembler and integrated development environment) NC308WA and NC30WA:
  • On calling inline functions out of other ones


  1. Versions Concerned
    M16C/80 series MCUs: NC308WA V.3.10 Release 2
    M16C/60 and /20 series MCUs: NC30WA V.4.00 Release 2


  2. Description
    Compilation may not be executed with the following Windows' error message being displayed.
    "This program has performed an illegal operation . . . ."


  3. Conditions
    This problem occurs if the following three conditions are satisfied:
    (1) Out of inline function A is called inline function B.
    (2) No execution instructions are described after the call of inline function B up to the end of the source file.
    (3) Any of the optimizing options -O[3-5], -OR, and -OS is used at compilation.
    [Example:]
    ----------------------------------------
    void inline funcB(void)
    {
        // Processing
    }
    void inline funcA(void)
    {
        // Processing 
        funcB();
    }   // EOF
    ----------------------------------------

  4. Workaround
    Use the -ONA option with -O[3-5], -OR, or -OS.


  5. Schedule of Fixing the Problem
    We plan to fix this problem in our next release.





© 2008. Renesas Technology Corp., All rights reserved. Privacy | Legal