* langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
commitc3f16ae3427c5eadff190d148ac8e096583c99ad
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 11:57:22 +0000 (2 11:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 11:57:22 +0000 (2 11:57 +0000)
tree72cdfa1019e7a95a9c990b7e0b9711b69f589e01
parent80698565eac1ea681257e0e81275392e57a0a197
    * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
        * langhooks.c (lhd_expr_size): Define default.
        * langhooks.h (struct lang_hooks): Add expr_size.
        * explow.c (expr_size): Call it.
        * expr.c (store_expr): Don't copy an expression of size zero.
        (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
        to store.
        * Makefile.in (builtins.o): Depend on langhooks.h.

        * cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define.
        (cp_expr_size): New fn.
        * call.c (build_over_call): Lose empty class hackery.
        (convert_arg_to_ellipsis): Promote non-POD warning to error.
        * typeck.c (build_modify_expr): Don't use save_expr on an lvalue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55983 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-lang.c
gcc/cp/typeck.c
gcc/explow.c
gcc/expr.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h