[Bug tree-optimization/92506] [10 Regression] Wrong code with -fwrapv since r277979

amacleod at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 14 19:03:00 GMT 2019


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

--- Comment #3 from Andrew Macleod <amacleod at redhat dot com> ---
Author: amacleod
Date: Thu Nov 14 19:02:48 2019
New Revision: 278259

URL: https://gcc.gnu.org/viewcvs?rev=278259&root=gcc&view=rev
Log:
2019-11-14  Andrew MacLeod  <amacleod@redhat.com>

        PR tree-optimization/92506
        * range-op.cc (range_operator::fold_range): Start with range undefined.
        (operator_abs::wi_fold): Fix wrong line copy... With wrapv, abs with
        overflow is varying.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/range-op.cc


More information about the Gcc-bugs mailing list