This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler library bug

Hello,

the compiler 4.9.1 use the compiler library function __aeabi_ldivmod() (ll_div32.asm) to divide a LONG LONG value. When this function detect division by zero, then the function should return

  • Dividend < 0 =>   MIN LONG LONG value
  • dividend == 0 =>   0
  • Dividend > 0 =>   MAX LONG LONG value

When I divided for example -5000 by zero, then the function returns not the MIN LONG LONG value.

Is this problem known? How can I add this issue in TI DB [https://cqweb.ext.ti.com/cqweb/]?
Is this problem fixed in a newer compiler version?

best regards,

Philip Hertweck

  • Thank you for reporting this issue.  I can reproduce your results.  I filed SDSCM00051039 in the SDOWP system to have this investigated.  You are welcome to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George