This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Avoid using Keil 4.13a - it generates defective code

I warn anybody before using ARM Keil 4.13a. It generates defective code. I have spent several hours with debugging a code that has been already worked. The problem affects local variables of functions and passing arguments. Code has been wrongly compiled without any optimization. I have no courage and time to test optimizations.

I also encourage Keil not to publish Keil 4.13a any more.

Keil 4.12 seems to be OK.

Parents
No data
Reply
  • Hi,

    After email communication with Jaroslav, we (he and I) have come to the conclusion that this is not a compiler bug.

    The debugger appears to be reporting erroneous values, and when hard printf()s were added to print the values they appeared correct. This would indicate that the problem is likely to be elsewhere.

    From RVCT's point of view there does not appear to be a code generation problem.

    Kind regards,

    James Molloy
    Graduate compiler engineer, RVCT, ARM.

Children
No data