expr.c (expand_assignment): Disable the bitfield += optimizations.
authorJakub Jelinek <jakub@redhat.com>
Mon, 5 Jul 2004 21:37:40 +0000 (23:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 5 Jul 2004 21:37:40 +0000 (23:37 +0200)
commit7682ef833a7aadac91f2fd21d2c61b74f4d4c957
tree4f531dccb304dcf5e79a0af65d35fba1caaf1761
parent7b61653a60e028d88529c935633d8592aa74607d
expr.c (expand_assignment): Disable the bitfield += optimizations.

* expr.c (expand_assignment): Disable the bitfield += optimizations.

* gcc.c-torture/execute/20040629-1.c (FIELDS1, FIELDS2): Define to
nothing if not yet defined.  Use it in b, c and d type definitions.
* gcc.c-torture/execute/20040705-1.c: New test.
* gcc.c-torture/execute/20040705-2.c: New test.

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