PR tree-optimization/86034
commit1bcb04d51079aa345caf0bbfe5286d53f9b18a65
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jun 2018 11:51:10 +0000 (3 11:51 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jun 2018 11:51:10 +0000 (3 11:51 +0000)
tree74d872b2a20990ecc63ce48b040263450fdce3df
parent4bd908ff54f472749d98c87e608a22b4360e1d35
PR tree-optimization/86034
* gimple-ssa-store-merging.c (output_merged_store): Convert the RHS to
the unsigned bitfield type in a bit insertion sequence if it does not
have a larger precision than the bitfield size.
(process_store): Also bypass widening conversions for BIT_INSERT_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261128 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr86034.c [new file with mode: 0644]