--- In lpc2000@yahoogroups.com, vijayasarathy T <tvsarathy@g...> wrote: > Hi, > > Iam using GNU arm gcc compiler for LPC2104 , when i use > > while( !( SCB_PLLSTAT & PLL_LOCK ) );) > > this statement, the assembly codes are not generated for other > instruction below this statement. do any one have a suggestion. Probably (SCB_PLLSTAT & PLL_LOCK) is always false, so the while loop is infinite. Code after an infinite loop would never be executed, so GCC optimizes it away. Karl Olsen
Message
Re: Has any one faced optmization problem using gnu arm gcc
2005-01-20 by Karl Olsen