FIXED SDSCM00039478
------------------------------------------------------------------------------
Severity : S2 - Major
Affected Component : Optimizer
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.
If I insert the above statement 2 times in the C code the generated ASM code is correct!
Compiler 5.2.12 OK:
It is unlikely you are experiencing SDSCM00039478.
For us to understand what is happening, we need to reproduce this possible bug ourselves. Please submit a test case as described in the last part of the forum guidelines.
Thanks and regards,
-George
We received a test case through other channels. Thank you.
konrad bertignoll said:Is there a detailed explanation of fix SDSCM00039478 available?
It involves the optimization phase of the compiler automatically generating __f32_min_idx and __f32_max_idx intrinsics, and how those intrinsics interact with subsequent if statements.
Those intrinsics are not automatically generated in your case. Thus, the fix for SDSCM00039478 has nothing to do with your situation. Some other change in version 5.2.12 causes your problem to disappear.
Thanks and regards,
-George
Hello,
have you analyzed the root cause of this very serious problem?
We need a fix of the problem for compiler 5.2.5 asap
Konrad
With some difficulty, I reproduced the problem. That allowed me to file SDSCM00046812 in the SDOWP system. In turn, this enables development engineering to work out the cause of the problem. You can follow this issue with the SDOWP link below in my signature.
Thanks and regards,
-George