Related articles |
---|
Justifying Optimization mike.dillon@lmco.com (MICHAEL DILLON) (2003-01-17) |
Re: Justifying Optimization joachim_d@gmx.de (Joachim Durchholz) (2003-01-20) |
Re: Justifying Optimization srikanth@cup.hp.com (srikanth) (2003-01-21) |
Re: Justifying Optimization christian.bau@cbau.freeserve.co.uk (Christian Bau) (2003-01-21) |
Re: Justifying Optimization vbdis@aol.com (2003-01-21) |
Re: Justifying Optimization jgd@cix.co.uk (2003-01-21) |
Re: Justifying Optimization touati@prism.uvsq.fr (Sid TOUATI) (2003-01-25) |
Re: Justifying Optimization ONeillCJ@logica.com (Conor O'Neill) (2003-01-25) |
Re: Justifying Optimization jvorbrueggen@mediasec.de (Jan C. =?iso-8859-1?Q?Vorbr=FCggen?=) (2003-01-25) |
Re: Justifying Optimization jvorbrueggen@mediasec.de (Jan C.=?iso-8859-1?Q?Vorbr=FCggen?=) (2003-01-25) |
Re: Justifying Optimization jvorbrueggen@mediasec.de (Jan C.=?iso-8859-1?Q?Vorbr=FCggen?=) (2003-01-25) |
[15 later articles] |
From: | vbdis@aol.com (VBDis) |
Newsgroups: | comp.compilers |
Date: | 21 Jan 2003 00:13:32 -0500 |
Organization: | AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com |
References: | 03-01-088 |
Keywords: | optimize |
Posted-Date: | 21 Jan 2003 00:13:32 EST |
In general I agree with John, our famous mod :-)
MICHAEL DILLON <mike.dillon@lmco.com> schreibt:
>Developers are stating that optimized code produces errors
This statement is incorrect, since buggy or misleaded optimizers /can/ produce
errors, as well as buggy or misleaded compilers can produce errors, even if
they do no optimization.
>and makes debugging more difficult.
This is (almost ;-) true. So why do you insist in debugging optimized code,
when OTOH you suppose that both the optimized and non-optimized code will
produce exactly the same results???
IMO the validation of the source code should be separated from the validation
of the compiler specific optimization.
And finally, what would you do if the outcome of the optimized and
non-optimized versions differ? Would you introduce workarounds into your source
code, to outwit bugs in the compiler optimization??? Is it this task which you
are paid for? What if these workarounds will no more work with the next
compiler version?
DoDi
Return to the
comp.compilers page.
Search the
comp.compilers archives again.