This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/18665] [3.4/4.0 Regression] -ftrapv borks up simple integer arithmetic


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]