From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22240 invoked by alias); 15 Jan 2005 17:17:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22139 invoked by uid 48); 15 Jan 2005 17:17:49 -0000 Date: Sat, 15 Jan 2005 17:17:00 -0000 Message-ID: <20050115171749.22136.qmail@sourceware.org> From: "schlie at comcast dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050115123233.19457.reichelt@gcc.gnu.org> References: <20050115123233.19457.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19457] [4.0 Regression] Warning depends on cached constant X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg02016.txt.bz2 List-Id: ------- 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