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: vrp?


Daniel Berlin <dberlin@dberlin.org> writes:

> And hey, any algorithm that can determine:

> [...]

> always returns 1 is okay in my book

Agressive range tracking might reintroduce security defects which have
been "fixed" by relying on undefined behavior.  Checking for signed
integer overflow after the fact is quite common, and most C
programmers do not see a problem at all. 8-(


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