This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/15526] [3.4/3.5 Regression] -ftrapv aborts on 0 * (-1)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2004 21:33:15 -0000
- Subject: [Bug other/15526] [3.4/3.5 Regression] -ftrapv aborts on 0 * (-1)
- References: <20040518204337.15526.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-18 21:33 -------
Confirmed this caused by the following patch:
2003-06-30 Bruno Haible <bruno@clisp.org>
PR middle-end/6578
* libgcc2.c (__subvsi3): Remove simplification that would not work
when subtracting -0x80000000.
(__subvdi3): Remove simplification that would return a wrong result.
(__mulvsi3): Fix overflow check.
(__absvdi2): Fix simplification that would return a wrong result.
(__mulvdi3): Fix overflow check.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bruno at clisp dot org,
| |roger at eyesopen dot com
Status|UNCONFIRMED |NEW
Component|c |other
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-18 21:33:14
date| |
Summary|-ftrapv aborts on 0 * (-1) |[3.4/3.5 Regression] -ftrapv
| |aborts on 0 * (-1)
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15526