Optimizing problem
DMS Tech, John
john at dms-tech.com
Fri Jan 5 10:43:58 UTC 2007
When I use the optimize option -O1 I have a problem that a small delay
loop, used in a boot-loader program, gets optimized out of the code.
Only the function call stays but the actual while loop is removed. Is
there any compiler option to make sure this loop stays intact or a
'__attribute__', which will make sure this function is not optimized?
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070105/2c9accdd/attachment.html>
More information about the coldfire-gnu-discuss
mailing list