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 <[email protected]> - 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) _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
