Re: Weird optimization bug...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adruab,

A bug like that is usually indicative of a buffer overrun.

int rgb[3];
rgb[4] = 7;

Or of cavalier casting.
short hue;
int* p = (int*)&hue;
*p = 0;

Without seeing the code (or some sample code that replicates the bug), it would be difficult to guess less likely scenarios.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux