cp-tree.h (finish_sizeof, [...]): Remove.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 4 Sep 2003 09:36:20 +0000 (09:36 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 4 Sep 2003 09:36:20 +0000 (09:36 +0000)
commit7a18b933f3a0a682daba07527fcfeb8e4fdd2dde
tree54f8ff1cf3fcfad94194deea3ba83734c6c92f8f
parentb379a5939dfaad14eb2285dfb078251fbcdf9bf3
cp-tree.h (finish_sizeof, [...]): Remove.

cp:
* cp-tree.h (finish_sizeof, finish_alignof): Remove.
(expr_sizeof): Replace with ...
(cxx_sizeof_or_alignof_expr): ... here.
(cxx_sizeof_or_alignof_type): Make complain parameter a bool.
* parser.c (cp_parser_unary_expression): Commonize alignof and
sizeof handling.
* pt.c (tsubst_copy_and_build): Adjust alignof and sizeof
substitution.
* semantics.c (finish_sizeof, finish_alignof): Remove.
* typeck.c (cxx_sizeof_or_alignof_type): Complain parameter
becomes bool. Set TREE_READONLY.
(expr_sizeof): Replace with ...
(cxx_sizeof_or_alignof_expr): ... here. Clear TREE_SIDE_EFFECTS.

From-SVN: r71054
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/typeck.c