Hello Michael,
> Do you have any ideas how to fix this without deactivating
optimizations?
First I would try to refactor the code a little. Maybe that is enough to
get the compiler back in line. You could for instance move the
declaration of index up out of the loop. If that does not solve the
problem, consider taking the last compiler update. Can you reproduce the
error in a simpler test program? Maybe you can switch of optimization
locally for that function?
> Do you have experienced other similar problems?
Not really. We have had problems with faulty optimizations in the past
and always worked around somehow. Most of the time it was in the
floating point regime.
Sorry, that I can't come up with a good trick :(
It gives bad feelings if you can't rely on the compiler to do its work
properly.
Best,
Johannes
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users