From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17011 invoked by alias); 7 Dec 2004 14:36:15 -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 16986 invoked by alias); 7 Dec 2004 14:36:12 -0000 Date: Tue, 07 Dec 2004 14:36:00 -0000 Message-ID: <20041207143612.16985.qmail@sourceware.org> From: "schlie at comcast dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041124222749.18665.skunk@iskunk.org> References: <20041124222749.18665.skunk@iskunk.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/18665] [3.4/4.0 Regression] -ftrapv borks up simple integer arithmetic X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg00990.txt.bz2 List-Id: ------- Additional Comments From schlie at comcast dot net 2004-12-07 14:36 ------- Subject: [3.4/4.0 Regression] -ftrapv borks up simple integer arithmetic > ------- Additional Comment #8 From Eric Botcazou 2004-12-06 18:45 > The (useless?) mode promotion from SImode to DImode comes from: > http://gcc.gnu.org/ml/gcc-patches/2003-02/msg00625.html > The c4X inspired logic seems basically wrong; built-in function type sizes should likely be determined by the mode/size (QI/HI/SI/etc.) specified by the target, not words-per-"anything" (where 8-bit targets may define a short as being 1 word-wide, and long as 4-words-wide; 64-bit targets may specify a short as being 1/4-words-wide, and long as 1-words-wide). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18665