From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7650 invoked by alias); 24 Nov 2004 22:32:31 -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 7603 invoked by uid 48); 24 Nov 2004 22:32:27 -0000 Date: Wed, 24 Nov 2004 22:32:00 -0000 Message-ID: <20041124223227.7602.qmail@sourceware.org> From: "skunk at iskunk 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 target/18665] -ftrapv borks up simple integer arithmetic X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg02986.txt.bz2 List-Id: ------- Additional Comments From skunk at iskunk dot org 2004-11-24 22:32 ------- Created an attachment (id=7600) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7600&action=view) Test case exhibiting subject bug The bug occurs in the lib.c file. I have added some extra printf()s and an assert() to make it stand out. The makefile's default target will compile the program and execute it in the manner that raises the bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18665