Re: Authoritative answer wanted: "-g -O1" vs. "-O1"

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

 



On 06/18/2013 07:48 PM, David Brown wrote:
> I think it is a useful feature that
> enabling debugging does not affect the generated code, but I didn't
> realise gcc was strict about it.

Oh yes.  This goes back to early GCC days, where it was one of the ways
in which GCC was superior to proprietary C compilers.  It is of *huge*
importance that if you have a bug and you turn on debugging the code
does not change, because that might make your bug change.

Andrew.





[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