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

Reply via email to