On 10.03.2011 9:24, Abhay sing wrote: > i got your point, here the optimization ignores the for loop, and therefore > leds doesnt blink. I should use the "volatile unsigned int i" right?. Right.
> But when i compile the code using mspgcc-3.2.3 using optimization, the > compiled code does work. Now i don't understand, form where does the > difference comes from. Optimizer in new version became more smarter. -- Regards, Sergey A. Borshch mailto: sb...@sourceforge.net SB ELDI ltd. Riga, Latvia ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users