re PR tree-optimization/86659 (gnat.dg/sso/q[23].adb FAIL)
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 8 Oct 2018 22:47:32 +0000 (22:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 8 Oct 2018 22:47:32 +0000 (22:47 +0000)
commitde3101937e73a9a46d62aad616d969fc7da66070
tree55a2eadb0e412c74af6fb377fc0bc4509b62c233
parent91a3cbb4d20c3486ee38233f5864c3625692ea80
re PR tree-optimization/86659 (gnat.dg/sso/q[23].adb FAIL)

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.

From-SVN: r264942
gcc/ChangeLog
gcc/gimple-match-head.c
gcc/gimple-match.h