This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]