diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-02-19 20:11:58 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-02-19 20:11:58 +0100 |
commit | 4b6c824a58ae964920b37e5014793a55b32bc8ce (patch) | |
tree | ad095f6a8fb1989c26f70257401d09f011e05436 /gcc/cse.c | |
parent | 15fca21a3e563ae90a5cc4ae00c36cc0c8e3f6f9 (diff) | |
download | gcc-4b6c824a58ae964920b37e5014793a55b32bc8ce.zip gcc-4b6c824a58ae964920b37e5014793a55b32bc8ce.tar.gz gcc-4b6c824a58ae964920b37e5014793a55b32bc8ce.tar.bz2 |
re PR c++/69851 (ICE: in assign_temp, at function.c:961)
PR c++/69851
* expr.c (store_field): Don't use bit-field path if exp is
COMPONENT_REF with TREE_ADDRESSABLE type, where TYPE_SIZE is
different from bitsize, but DECL_SIZE of FIELD_DECL is bitsize
and the assignment can be performed by bitwise copy. Formatting
fix.
* g++.dg/torture/pr69851.C: New test.
From-SVN: r233566
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions