Re: Where would you like to spend that resource? (WAS: yup!)

meissner@osf.org (Michael Meissner)
Sat, 31 Aug 91 16:32:51 -0400

          From comp.compilers

Related articles
Where would you like to spend that resource? (WAS: yup!) pardo@cs.washington.edu (1991-08-19)
Re: Where would you like to spend that resource? (WAS: yup!) clc5q@hemlock.cs.Virginia.EDU (1991-08-21)
Re: Where would you like to spend that resource? (WAS: yup!) moss@cs.umass.edu (1991-08-22)
Re: Where would you like to spend that resource? (WAS: yup!) pardo@gar.cs.washington.edu (1991-08-22)
Re: Where would you like to spend that resource? (WAS: yup!) meissner@osf.org (1991-08-31)
| List of all articles for this month |
Newsgroups: comp.compilers
From: meissner@osf.org (Michael Meissner)
In-Reply-To: moss@cs.umass.edu's message of 22 Aug 91 13:20:07 GMT
Keywords: design, debug
Organization: Compilers Central
Date: Sat, 31 Aug 91 16:32:51 -0400

Eliot Moss writes:


| There is one point that I think was missed in the previous posting. I agree
| about use and non-use of optimization during development and about turning
| run-time checks on and off. The point that I feel was missed is that since
| optimization is complicated, it tends to harbor the most compiler bugs, which
| can break program in very subtle and difficult to discover ways.


In two of the GCC ports I have worked on (m88k, and mips), I have come
across situations where the optimized code is fine, and it only fails
if optimizing is turned off. This is because the combiner in GCC will
change the code to not use the bad patterns, and that I typically
spend more time testing optimized code vs. unoptimized code.


Also I should note, the first commericial compiler I worked on (DG/L
for Data General) had no options for optimization on or off. You
always ran the optimizer (which was a reasonable optimizer, including
doing code motion from nested functions to the outer functions).


--
Michael Meissner email: meissner@osf.org phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142
--


Post a followup to this message

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