expr.c (expand_assignment): Optimize bitfld += cst for 1 bit bitfields as well.
authorJakub Jelinek <jakub@redhat.com>
Thu, 1 Jul 2004 14:05:16 +0000 (16:05 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 1 Jul 2004 14:05:16 +0000 (16:05 +0200)
commit60ba25bfc1c465184d34bae053b0d47161c20a76
tree4232b562b11f7f83110e00bb7a62ba4367cbea08
parentbd74419fb5fe0e4643f4383348755f87730a1c75
expr.c (expand_assignment): Optimize bitfld += cst for 1 bit bitfields as well.

* expr.c (expand_assignment): Optimize bitfld += cst for 1 bit
bitfields as well.  STRIP_NOPS from src operand and PLUS_EXPR's
first operand.  Don't optimize if the bitfield is volatile.

From-SVN: r83983
gcc/ChangeLog
gcc/expr.c