This is the mail archive of the gcc@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]

Re: signed is undefined and has been since 1992 (in GCC)


> > Does -ftrapv ever take advantage of trapping instructions where the
> > hardware has them available?
>
> Yes, for example Alpha.

OK, but it's the only example. :-)

> > Does anyone make substantial use of -ftrapv in production
>
> There are rarely bug reports about it; for example pointer difference
> with odd sized objects was broken for years, and reported only twice
> or so.

-ftrapv is simply not usable as of today because the performance degradation 
is abysmal.  Plus it is broken in very simple cases (PR middle-end/19020).

-- 
Eric Botcazou


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