[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] MAJOR bug: tcc doesn't detect duplicate cases in swit

From: arnold
Subject: Re: [Tinycc-devel] MAJOR bug: tcc doesn't detect duplicate cases in switch statements
Date: Sat, 12 Mar 2016 10:58:42 -0700
User-agent: Heirloom mailx 12.4 7/29/08

Michael Matz <address@hidden> wrote:

> First, the bug can't be as MAJOR as 
> the subject wants to make us believe.  After all it wasn't noticed since 
> the last $MANY years.

The bug caused me to push bad code to gawk's repo. It's only luck that it
wasn't noticed, but a bug is a bug. Geting the right answer a little
more slowly is always better than getting the wrong answer super fast.

The issue isn't just the lack of diagnostic - what kind of erroneous
code is being generated in this case?

TCC is valuable for being both fast and correct.  Lose the correctness
and you lose ALL the value.

My two cents worth.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]