This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.2.0 Status Report (2007-02-19)
- From: Robert Dewar <dewar at adacore dot com>
- To: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- Cc: Andi Kleen <andi at firstfloor dot org>, "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>, Joe Buck <Joe dot Buck at synopsys dot COM>, "Joseph S. Myers" <joseph at codesourcery dot com>, Mark Mitchell <mark at codesourcery dot com>, GCC <gcc at gcc dot gnu dot org>
- Date: Wed, 21 Feb 2007 06:21:00 -0500
- Subject: Re: GCC 4.2.0 Status Report (2007-02-19)
- References: <45DA39B2.9010100@codesourcery.com.suse.lists.egcs> <Pine.LNX.4.64.0702200017140.32368@digraph.polyomino.org.uk.suse.lists.egcs> <20070220003338.GA26045@synopsys.com.suse.lists.egcs> <Pine.GSO.4.58.0702200942310.12867@caipclassic.rutgers.edu.suse.lists.egcs> <p733b50e933.fsf@bingen.suse.de> <87hctgnjgy.fsf@soliton.cs.tamu.edu>
Gabriel Dos Reis wrote:
Andi Kleen <andi@firstfloor.org> writes:
| "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
| >
| > And we don't want to arm our detractors with bad SPEC numbers. I can just
| > imagine the FUD spreading... we've got to fix it or backout.
So what if gcc is a bit behind some other compiler on SPEC? This
is only one of many considerations. The number of people for whom
this is a deciding factor is very small. There will always be
individual instances of compilers for specific architectures
that do better in code generation than gcc in some cases. gcc
pays an inevitable price for generality and ease of
retargetting. The amazing achievment of gcc is that this
price is remarkably small in most cases.
Of course we do want to "fix" this if we can, and we want the
best possible performance. But for most people, reliability
and correct code generation is by *far* more important than
a few percent in efficiency.
So if a bug in code generation is found, the first priority
is to fix it, and performance degradation is not an argument
against doing the fix (it is an argument for subsequently
looking for a better fix that retrieves the performance,
but performance can never stand in the way of correctness).