expmed.c (expand_shift_1): Add MAY_FAIL parameter and do not assert that the result...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 17 Oct 2016 22:15:02 +0000 (22:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 17 Oct 2016 22:15:02 +0000 (22:15 +0000)
commitea000c3ff59fa6c3e660766e4876d29bc1f5f575
tree3de01aa3cab124e106c14bbb7e456b34f0b96a5b
parenta929f2662ef33c06ad5b41f2a3df0c0833bbc405
expmed.c (expand_shift_1): Add MAY_FAIL parameter and do not assert that the result is non-zero if it is true.

* expmed.c (expand_shift_1): Add MAY_FAIL parameter and do not assert
that the result is non-zero if it is true.
(maybe_expand_shift): New wrapper around expand_shift_1.
(emit_store_flag): Call maybe_expand_shift in lieu of expand_shift.

From-SVN: r241282
gcc/ChangeLog
gcc/expmed.c