Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

compiler problem

Hello

I had a C++ code running well on NIOS II IDE software. Then I upgraded the software and then the code was stucked in a loop of my code. I did not change anything in the code of course.

So I just changed the optimization of the compiler settings ("optimize more") to "None" and now it works again.

How is it possible?

thank you

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    NIOS forum is probably a better resource, and i think the problem may be related to embedded coding practices. global variables need to be volatile etc.