[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] add warning for signed unsigned comparisions
From: |
Vincent Lefevre |
Subject: |
Re: [Tinycc-devel] add warning for signed unsigned comparisions |
Date: |
Fri, 10 Jan 2014 11:25:08 +0100 |
User-agent: |
Mutt/1.5.21-6305-vl-r59709 (2013-04-16) |
On 2014-01-10 10:48:12 +0100, Romain ... wrote:
> It's strange because gcc haven't this behaviour.
Concerning GCC, I've reported the following bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59753
For signed type T, the missing warning "overflow in implicit constant
conversion" occurs only between T_MAX+1 and UT_MAX.
--
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)