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: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Andi Kleen <andi at firstfloor dot org>, 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 11:33:39 -0500 (EST)
- 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> <Pine.GSO.4.58.0702201755370.24182@caipclassic.rutgers.edu> <20070221015545.GA1808@caradoc.them.org>
On Tue, 20 Feb 2007, Daniel Jacobowitz wrote:
> On Tue, Feb 20, 2007 at 06:23:14PM -0500, Kaveh R. GHAZI wrote:
> > No it doesn't need stating, at least not for me. :-) Sure nobody likes
> > bugs/miscompilations, but all compilers have them. We evaluate how
> > serious they are and whether a performance hit from a bug fix is worth it.
> > My understanding is that 4.1 has this very same bug, and it hits about as
> > often as it does in 4.2. See the end of this message:
> > http://gcc.gnu.org/ml/gcc/2007-02/msg00432.html
> >
> > If so, then it can't be too bad IMHO. That was the context within which
> > I made my statement. And if that holds, I continue to stand by it.
>
> On the other hand, I consider this a fairly serious bug in 4.1 (and
> I've seen customers encounter it at least twice off the top of my
> head). It depends what your tolerance for wrong-code bugs is.
> Daniel Jacobowitz
My tolerance is pretty low. I'm relying on the fact that the bug occurs
rarely in real code. I'm trying to reconcile your statement about
customer feedback with Daniel B's claim here:
http://gcc.gnu.org/ml/gcc/2007-02/msg00476.html
He said:
"I'm still of the opinion that even though you can write relatively simple
testcases for them, they are actually pretty rare. In most of the bugs,
it is in fact, the absence of any real code (or local variables in one
case) that triggers the bad result. Anything more complex and we get the
right answer."
We have to make a judgement about how serious this bug really is. Some
people seem to think correctness *always* wins, I don't like absolutes,
they are too limiting. I don't at all think performance always wins, but
correctness of rare corner cases which comes at high costs must be
evaluated in context.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu