aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-09-04 09:36:20 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-09-04 09:36:20 +0000
commit7a18b933f3a0a682daba07527fcfeb8e4fdd2dde (patch)
tree54f8ff1cf3fcfad94194deea3ba83734c6c92f8f /gcc/cp/ChangeLog
parentb379a5939dfaad14eb2285dfb078251fbcdf9bf3 (diff)
downloadgcc-7a18b933f3a0a682daba07527fcfeb8e4fdd2dde.zip
gcc-7a18b933f3a0a682daba07527fcfeb8e4fdd2dde.tar.gz
gcc-7a18b933f3a0a682daba07527fcfeb8e4fdd2dde.tar.bz2
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
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 50fe265..3c3112d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,19 @@
+2003-09-04 Nathan Sidwell <nathan@codesourcery.com>
+
+ * 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.
+
2003-09-04 Mark Mitchell <mark@codesourcery.com>
Remove cast-as-lvalue extension.