From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13113 invoked by alias); 28 Mar 2002 22:42:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13090 invoked by uid 61); 28 Mar 2002 22:42:04 -0000 Date: Thu, 28 Mar 2002 14:42:00 -0000 Message-ID: <20020328224204.13089.qmail@sources.redhat.com> To: dash@xdr.com, dberlin@sources.redhat.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org From: sirl@gcc.gnu.org Reply-To: sirl@gcc.gnu.org, dash@xdr.com, dberlin@sources.redhat.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: optimization/5969: When function is declared func(unsigned char v), v isn't truncated X-SW-Source: 2002-03/txt/msg01093.txt.bz2 List-Id: Synopsis: When function is declared func(unsigned char v), v isn't truncated State-Changed-From-To: feedback->closed State-Changed-By: sirl State-Changed-When: Thu Mar 28 14:42:04 2002 State-Changed-Why: not-a-bug. The ABI on this platform requires the caller to do the truncation, for obvious optimization reasons. Thus the caller has to "know" (eg. via prototypes) how to truncate/sign-extend the arguments passed to the callee. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5969