From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19259 invoked by alias); 19 Oct 2004 22:31:27 -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 19252 invoked by alias); 19 Oct 2004 22:31:26 -0000 Date: Tue, 19 Oct 2004 22:31:00 -0000 Message-ID: <20041019223126.19251.qmail@sourceware.org> From: "schlie at comcast dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041019202143.18065.schlie@comcast.net> References: <20041019202143.18065.schlie@comcast.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/18065] not using qi version of divmod X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg02564.txt.bz2 List-Id: ------- Additional Comments From schlie at comcast dot net 2004-10-19 22:31 ------- Subject: Re: not using qi version of divmod Hi Eric, Out of curiosity, what exactly is the 10733 bug, is wrong result computed? If so, that implies that divmodhi is broken; otherwise it's not a bug, as the intermediate (t1 + 40) expression yields an int result, as within the context of the expression, although t1 is an unsigned char, there's no guarantee that (t1 + 40) will not overflow an unsigned char size, therefore properly assumed to be an int; unlike t1 = t1 % 3 or whatever, where all operands are clearly type compatible with unsigned char, and a valid optimization. -paul- > From: ericw at evcohs dot com > Reply-To: > Date: 19 Oct 2004 22:08:15 -0000 > To: > Subject: [Bug target/18065] not using qi version of divmod > > > ------- Additional Comments From ericw at evcohs dot com 2004-10-19 22:08 > ------- > Bug #10733 is related. > > -- > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |ericw at evcohs dot com > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18065 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18065