This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/18665] [3.4/4.0 Regression] -ftrapv borks up simple integer arithmetic
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2004 19:24:15 -0000
- Subject: [Bug other/18665] [3.4/4.0 Regression] -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 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