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 regression/71231] [7 Regression]: 300% runtime increase for rnflow


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71231

--- Comment #12 from Marc Glisse <glisse at gcc dot gnu.org> ---
-fwrapv seems to fix it. As far as I can tell, the multiplication is done in 32
bits, VRP detects that the numbers are nonnegative, so zeroing the sign bit of
the result of the mult+add can be assumed to be a NOP.

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