diff options
author | Dodji Seketeli <dodji@redhat.com> | 2009-12-03 08:33:03 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2009-12-03 09:33:03 +0100 |
commit | 84894f850fd94064c2673de1d26a1390a65508dd (patch) | |
tree | 801fa0d123db0311962b9a816fed19689206532c /gcc/regrename.c | |
parent | 249ccaff220334750acbaf9351dd06b0fdcbde06 (diff) | |
download | gcc-84894f850fd94064c2673de1d26a1390a65508dd.zip gcc-84894f850fd94064c2673de1d26a1390a65508dd.tar.gz gcc-84894f850fd94064c2673de1d26a1390a65508dd.tar.bz2 |
re PR c++/42217 (ICE with zero-length bit-field)
Fix PR c++/42217
gcc/cp/ChangeLog
PR c++/42217
* class.c (remove_zero_width_bit_fields): The width of the bit field is
in DECL_SIZE, not in DECL_INITIAL.
gcc/testsuite/ChangeLog
PR c++/42217
* g++.dg/other/bitfield4.C: New test.
From-SVN: r154938
Diffstat (limited to 'gcc/regrename.c')
0 files changed, 0 insertions, 0 deletions