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/53385] [4.8 Regression] "Error: operand out of range" after changes for LSHIFT_EXPR in vrp.c


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

--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> 2012-05-17 21:34:23 UTC ---
Created attachment 27429
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27429
patch

I believe you need something like this completely untested patch to avoid
undefined behavior without -fwrapv.


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