diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-07-22 09:53:34 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-07-22 09:53:34 +0000 |
commit | e0d1297c4320ae158fbba12f8d2a0ec2970462ba (patch) | |
tree | 6679a92cc9d1ed37f7676b33077730a559a92f24 /gcc/cppmacro.c | |
parent | c6e4cc53e53de0f671b715bfb83f37dbf73aaf2f (diff) | |
download | gcc-e0d1297c4320ae158fbba12f8d2a0ec2970462ba.zip gcc-e0d1297c4320ae158fbba12f8d2a0ec2970462ba.tar.gz gcc-e0d1297c4320ae158fbba12f8d2a0ec2970462ba.tar.bz2 |
cp-tree.h (enum cp_lvalue_kind): Add clk_packed.
cp:
* cp-tree.h (enum cp_lvalue_kind): Add clk_packed.
* tree.c (lvalue_p_1): Set it.
* class.c (check_field): Don't allow non-packed non-POD fields to
be packed.
* call.c (reference_binding): Need a temporary for all bitfield
and packed fields.
(convert_like_real): Check it is ok to make a temporary here.
testsuite:
* g++.dg/ext/packed3.C: New test.
* g++.dg/ext/packed4.C: New test.
From-SVN: r69669
Diffstat (limited to 'gcc/cppmacro.c')
0 files changed, 0 insertions, 0 deletions