expr.c (expand_assignment): Reenable bitfield += optimizations.
authorJakub Jelinek <jakub@redhat.com>
Thu, 15 Jul 2004 00:09:00 +0000 (02:09 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 15 Jul 2004 00:09:00 +0000 (02:09 +0200)
commitb8b139c7421e29b5a103ef09d960a375a6dff3bd
tree78c132b5b29ebc1362f28bd7a6454e0d1cb0d045
parentaa3c6dc1604edf2119da7cf6d39c6afab3a676d7
expr.c (expand_assignment): Reenable bitfield += optimizations.

* expr.c (expand_assignment): Reenable bitfield += optimizations.
Use alias set 0 for memory, do proper mode calculations and adjust
address for memories.

* gcc.c-torture/execute/20040709-1.c: New test.
* gcc.c-torture/execute/20040709-2.c: New test.

From-SVN: r84722
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20040709-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/20040709-2.c [new file with mode: 0644]