This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cp/cp-tree.h: Remove cxx_alignof.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: nathan at codesourcery dot com
- Date: Sat, 09 Apr 2005 11:37:11 -0400 (EDT)
- Subject: [patch] cp/cp-tree.h: Remove cxx_alignof.
Hi,
Attached is a patch to remove cxx_alignof as its last use was removed
by
http://gcc.gnu.org/ml/gcc-cvs/2003-09/msg00081.html
Tested on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2005-04-08 Kazu Hirata <kazu@cs.umass.edu>
* cp-tree.h (cxx_alignof): Remove.
Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.1117
diff -u -d -p -r1.1117 cp-tree.h
--- cp-tree.h 8 Apr 2005 19:39:45 -0000 1.1117
+++ cp-tree.h 8 Apr 2005 20:03:53 -0000
@@ -4324,7 +4324,6 @@ extern tree check_return_expr
#define cp_build_binary_op(code, arg1, arg2) \
build_binary_op(code, arg1, arg2, 1)
#define cxx_sizeof(T) cxx_sizeof_or_alignof_type (T, SIZEOF_EXPR, true)
-#define cxx_alignof(T) cxx_sizeof_or_alignof_type (T, ALIGNOF_EXPR, true)
extern tree build_ptrmemfunc_access_expr (tree, tree);
extern tree build_address (tree);
extern tree build_nop (tree, tree);