[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Small patch
From: |
Vincent Lefevre |
Subject: |
Re: [Tinycc-devel] Small patch |
Date: |
Thu, 31 Jan 2013 16:14:28 +0100 |
User-agent: |
Mutt/1.5.21-6295-vl-r57845 (2013-01-31) |
On 2013-01-31 15:56:34 +0100, Michael Matz wrote:
> It will lead to slower and/or larger code to add a default case with a
> separate body. The current way of doing it is IMO the exactly correct
> way. If people are really confused by that, put a comment next to the
> 'default:'.
OK (until compilers become smart enough to track possible values
of variables). I would rather see the "case '^'" as a comment
rather than code. Or add a special assert that would be checked
only in some debug mode.
--
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
- Re: [Tinycc-devel] Small patch, (continued)
- Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
- Re: [Tinycc-devel] Small patch, Stephan Beal, 2013/01/31
- Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
- Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
- Re: [Tinycc-devel] Small patch, Vincent Lefevre, 2013/01/31
- Re: [Tinycc-devel] Small patch, grischka, 2013/01/31
- Re: [Tinycc-devel] Small patch, Vincent Lefevre, 2013/01/31
- Re: [Tinycc-devel] Small patch, grischka, 2013/01/31
- Re: [Tinycc-devel] Small patch, Vincent Lefevre, 2013/01/31
- Re: [Tinycc-devel] Small patch, Michael Matz, 2013/01/31
- Re: [Tinycc-devel] Small patch,
Vincent Lefevre <=
- Re: [Tinycc-devel] Small patch, grischka, 2013/01/31
Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
Re: [Tinycc-devel] Small patch, Domingo Alvarez Duarte, 2013/01/31