This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19457] [4.0 Regression] Warning depends on cached constant
- From: "schlie at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2005 17:17:49 -0000
- Subject: [Bug c++/19457] [4.0 Regression] Warning depends on cached constant
- References: <20050115123233.19457.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schlie at comcast dot net 2005-01-15 17:17 -------
(In reply to comment #2)
where futher then any constant not explictly negative should be considerd compatible with either
signed or unsigned assignment; thereby 0x80000000 is compatible with either, as the value is not
explicitly negative, although may be interpeted as being so iff assigned to a signed variable of
equal size, but not otherwise; it would seem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19457