OSDN Git Service

2012-01-27 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 14:54:37 +0000 (14:54 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 14:54:37 +0000 (14:54 +0000)
commita598af2a9120feca416b38688593070db46cd07e
treedafa0ce7d5bb9bfc0cf46d5f2fb1426c73e95f91
parent40ea71fc6272a5a94b58f037a61d423d64178f1e
2012-01-27  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50444
* expr.c (mem_ref_refers_to_non_mem_p): New function.
(expand_assignment): Use it.  Properly handle misaligned
bases when expanding stores to component references.
(expand_expr_real_1): Use mem_ref_refers_to_non_mem_p and
refactor that case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183629 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c