]> git.ipfire.org Git - thirdparty/gcc.git/commit
cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.
authorMark Mitchell <mark@codesourcery.com>
Sun, 19 Mar 2000 05:22:04 +0000 (05:22 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 19 Mar 2000 05:22:04 +0000 (05:22 +0000)
commitcd8ed629642bebaa19a2fe544f0c3efcafe835f2
tree27221340a82ba130909a03491572338e80e9b132
parent3ca3ce41d7a697163986c9b73b8ee4cb389d65e9
cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.

* cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.
* class.c (check_bitfield_decl): Turn illegal bitfields into
non-bitfields.
(dfs_propagate_binfo_offsets): Adjust for new size_binop
semantics.
(dfs_offset_for_unshared_vbases): Likewise.
* cvt.c (cp_convert_to_pointer): Convert NULL to a
pointer-to-member correctly under the new ABI.
* expr.c (cplus_expand_constant): Don't use cp_convert when
turning an offset into a pointer-to-member.
* init.c (resolve_offset_ref): Don't adjust pointers-to-members
when dereferencing them under the new ABI.
* typeck.c (get_member_function_from_ptrfunc): Tweak calculation
of pointers-to-members under the new ABI.

From-SVN: r32631
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/expr.c
gcc/cp/init.c
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.abi/empty.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.abi/ptrmem.C