This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18665] -ftrapv borks up simple integer arithmetic
- From: "skunk at iskunk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2004 22:32:27 -0000
- Subject: [Bug target/18665] -ftrapv borks up simple integer arithmetic
- References: <20041124222749.18665.skunk@iskunk.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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