Pular para o conteúdo principal
Knowledgebase
Home
Renesas Brasil - Knowledgebase

Is debugging information guaranteed by optimization ?

Latest Updated:09/10/2007

Question:

Is debugging information guaranteed by optimization ?

Answer:

Depending on optimization, there are times when the flow of description and processing of the source differs.

However this does not change it to where the developer does not intend to.

For example.....

:Deletion of substitution of an unreferenced variable

:Iinvariant expression transfer in loop

:Register allocation to a loop variable...etc.

If you want performances just as the source line order, please compile without the optimization function.

Suitable Products
C/C++ Compiler Package for SuperH Family
C/C++ Compiler Package for H8SX, H8S, H8 Family