Re: Debug optimized code

Stephen Horne <sh006d3592@blueyonder.co.uk>
Thu, 18 Sep 2008 21:31:20 +0100

          From comp.compilers

Related articles
Debug optimized code linuxkaffee_@_gmx.net (Stephan Ceram) (2008-09-16)
Re: Debug optimized code rajaram.officemails@gmail.com (RR) (2008-09-17)
Re: Debug optimized code cr88192@hotmail.com (cr88192) (2008-09-17)
Re: Debug optimized code walter@bytecraft.com (Walter Banks) (2008-09-17)
Re: Debug optimized code rcmetzger@grandecom.net (rcmetzger) (2008-09-17)
Re: Debug optimized code sh006d3592@blueyonder.co.uk (Stephen Horne) (2008-09-18)
Re: Debug optimized code barry.j.kelly@gmail.com (Barry Kelly) (2008-09-19)
Re: Debug optimized code gneuner2@comcast.net (George Neuner) (2008-09-20)
Re: Debug optimized code DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-09-21)
Re: Debug optimized code sh006d3592@blueyonder.co.uk (Stephen Horne) (2008-09-22)
Re: Debug optimized code gneuner2@comcast.net (George Neuner) (2008-09-23)
Re: Debug optimized code walter@bytecraft.com (Walter Banks) (2008-09-25)
[2 later articles]
| List of all articles for this month |
From: Stephen Horne <sh006d3592@blueyonder.co.uk>
Newsgroups: comp.compilers
Date: Thu, 18 Sep 2008 21:31:20 +0100
Organization: virginmedia.com
References: 08-09-076 08-09-082
Keywords: optimize, debug
Posted-Date: 18 Sep 2008 18:09:00 EDT

On Wed, 17 Sep 2008 22:12:44 +1000, "cr88192" <cr88192@hotmail.com>
wrote:


>Well, in general, if one is using debugging, they don't want any
>optimization, and if they want optimization, they can't really use
>debugging.


I see the benefit if it can be done, at least in some languages,
though. I've had code that needed debugging, yet worked perfectly fine
in a debug build. In C++, it usually means someone somewhere on the
project has handled a pointer badly or memsetted a class instance
(wiping a virtual pointer) or similar.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.