OSDN Git Service

cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Aug 2002 15:59:33 +0000 (15:59 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Aug 2002 15:59:33 +0000 (15:59 +0000)
commit38ad278583f89d5e5b7325bd2e27c918c80d9d78
treec6e3f6f93e3d034998db24b9f3f80fa7f866a0e4
parent2817a9b3248f5b8fd0f298976aa24f85d10a3996
cp:
* typeck.c (build_component_addr): Remove.
(build_unary_op): Just check it's not a bitfield, and then build
an ADDR_EXPR.
testsuite:
* g++.dg/other/packed1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56132 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/packed1.C [new file with mode: 0644]