This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20019] incorrect overflow warning
- From: "schlie at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2005 13:20:34 -0000
- Subject: [Bug c++/20019] incorrect overflow warning
- References: <20050217025913.20019.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schlie at comcast dot net 2005-02-17 13:20 -------
(In reply to comment #6)
> What should get a warning is the assignment of 0x80 to a char.
Not that either, as although the two differ in sign, the value does not exceed the type's precision.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20019