vineet jain wrote: >Hello group, > My application fails to give the correct output when I define a global array of size 1024 int type. When I make it local to a function it gives the correct output. > The above is true for -o3 level optimization. > > But when I make the array global and o0 optimization, it gives the correct output. > > Any idea what the compiler would be doing in o3 level optimization to the global array. > > > The boingboing ARM compiler version 198 is broken, don't use -O3 TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Global arrays
2006-05-26 by Tom Walsh
Attachments
- No local attachments were found for this message.