On Tue, 2012-10-30 at 01:09 -0600, Michael Buro wrote:
> Recently I came across http://embed.cs.utah.edu/ioc/ which describes a
> sophisticated integer overflow checker for Clang. The reported results
> obtained by analyzing C/C++ open source projects make a convincing
> case for implementing such functionality in gcc/g++ as well. Is
> somebody looking into this?

Not sure, but we've still got a half-broken -ftrapv :)
E.g. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35412
Or like on SH, some of the arithmetic ops get expanded to libcalls and
some (afair SImode plus and minus) end up as normal ops.

Cheers,
Oleg



Reply via email to