From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 779 invoked by alias); 10 Dec 2004 19:24:20 -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 714 invoked by uid 48); 10 Dec 2004 19:24:15 -0000 Date: Fri, 10 Dec 2004 19:24:00 -0000 Message-ID: <20041210192415.713.qmail@sourceware.org> From: "ebotcazou at gcc dot gnu dot org" 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 other/18665] [3.4/4.0 Regression] -ftrapv borks up simple integer arithmetic X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg01544.txt.bz2 List-Id: ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-12-10 19:24 ------- > I'm not sure redirecting __addvsi3 to __addvdi3 is correct. If we provide that > symbol at all, I think it should do what it advertises. But what we export now as __addvsi3 will be exported as __addvdi3 after the fix. > Just so I'm clear, are we invoking __addvsi3 right now, or is it just that > __addvdi3 has the wrong implementation? The latter. __addvdi3 uses double words everywhere, so is actually __addvti3 on 64-bit targets. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18665