OSDN Git Service

PR middle-end/52419
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Feb 2012 17:45:55 +0000 (17:45 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Feb 2012 17:45:55 +0000 (17:45 +0000)
commit04df78dc71f8fb5861a65c301739b38569f87da4
tree09361607593fdcf9bf322ea8635b1c004c6db317
parenteee873f6bd72529af0159e138adf31d183a27746
PR middle-end/52419
* expr.c (expand_assignment): If doing misaligned store that doesn't
cover all mode bits, perform a RMW cycle.

* gcc.dg/torture/pr52419.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184666 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52419.c [new file with mode: 0644]