it is very simple in this case: add volatile to the loop counter.
-- View this message in context: http://sourceware-org.1504.n7.nabble.com/optimization-causes-CLULoad-package-to-fail-tp239397p239501.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss