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

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Mon Oct  8 22:47:32 2018
New Revision: 264942

URL: https://gcc.gnu.org/viewcvs?rev=264942&root=gcc&view=rev
Log:
        PR tree-optimization/86659
        * gimple-match.h (struct gimple_match_op): Add reverse field.
        (gimple_match_op::set_op): New overloaded method.
        * gimple-match-head.c (maybe_build_generic_op) <BIT_FIELD_REF>: Set
        the REF_REVERSE_STORAGE_ORDER flag on the value.
        (gimple_simplify) <GIMPLE_ASSIGN>: For BIT_FIELD_REF, propagate the
        REF_REVERSE_STORAGE_ORDER flag and avoid simplifying if it is set.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-match-head.c
    trunk/gcc/gimple-match.h

Reply via email to