OSDN Git Service

* class.c (build_base_path): Use build_address directly.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Aug 2004 18:59:18 +0000 (18:59 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Aug 2004 18:59:18 +0000 (18:59 +0000)
commitb867d8aaf2ca257befd415da081b5c3679e570a5
treeb8588d80580c2127c7180b14671067529060b82c
parent7da1265c4b739e985de5264663fcf2078ee7c582
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86795 138bc75d-0d04-0410-961f-82ee72b054a4
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