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 tree-optimization/30318] VRP does not create ANTI_RANGEs on overflow


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30318

--- Comment #8 from glisse at gcc dot gnu.org 2012-05-04 21:45:49 UTC ---
Created attachment 27311
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27311
Wrap plus/minus

This patch handles combinations of range/anti_range for PLUS_EXPR and
MINUS_EXPR. I'll try to do MULT_EXPR later so that for -10<i<10 and -10<j<10 we
get the same range for (unsigned)(i*j) and (unsigned)i*(unsigned)j.


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