re PR middle-end/91131 (Bad bitfield coalescing)
authorRichard Biener <rguenther@suse.de>
Thu, 11 Jul 2019 07:32:04 +0000 (07:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 11 Jul 2019 07:32:04 +0000 (07:32 +0000)
commit3e66e7b0d1efa3f78a5598884e2d5d526894833e
tree9c65fdd93d11a334ed47d89dbca153ac6980bcec
parent639000e2121c2b15f6cdd555ca3f666305b3684d
re PR middle-end/91131 (Bad bitfield coalescing)

2019-07-11  Richard Biener  <rguenther@suse.de>

PR middle-end/91131
* gimplify.c (gimplify_compound_literal_expr): Force a temporary
when the object is volatile and we have not cleared it even though
there are no nonzero elements.

* gcc.target/i386/pr91131.c: New testcase.

From-SVN: r273376
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr91131.c [new file with mode: 0644]