class.c (build_base_path): Use build_address directly.
authorRichard Henderson <rth@redhat.com>
Mon, 30 Aug 2004 18:59:18 +0000 (11:59 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 30 Aug 2004 18:59:18 +0000 (11:59 -0700)
commit442c8e31f0c70473592cbb205ca2d3ebc5cb69ae
treeb8588d80580c2127c7180b14671067529060b82c
parent5cc200fcf0b382bb7509f26eb8bd9cc6538e255d
class.c (build_base_path): Use build_address directly.

        * class.c (build_base_path): Use build_address directly.
        * typeck.c (build_unary_op): Don't lower &a.b to pointer
        arithmetic directly.
        * typeck2.c (store_init_value): Don't assume !TREE_CONSTANT
        means !initializer_constant_valid_p.

        * g++.dg/other/offsetof1.C: Use __builtin_offsetof.

From-SVN: r86795
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/typeck.c
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/offsetof1.C