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.
Kindly suggest.
Regards,
Vineet.
---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice
[Non-text portions of this message have been removed]Message
Global arrays
2006-05-26 by vineet jain
Attachments
- No local attachments were found for this message.