summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-common.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c-common.def')
-rw-r--r--gcc/c-family/c-common.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-family/c-common.def b/gcc/c-family/c-common.def
index 2a7df882d0a..b6df9a3f3ee 100644
--- a/gcc/c-family/c-common.def
+++ b/gcc/c-family/c-common.def
@@ -2,7 +2,7 @@
additional tree codes used in the GNU C compiler (see tree.def
for the standard codes).
Copyright (C) 1987, 1988, 1990, 1993, 1997, 1998,
- 1999, 2000, 2001, 2004, 2005, 2007, 2009, 2010
+ 1999, 2000, 2001, 2004, 2005, 2007, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
Written by Benjamin Chelf <chelf@codesourcery.com>
@@ -53,6 +53,10 @@ DEFTREECODE (EXCESS_PRECISION_EXPR, "excess_precision_expr", tcc_expression, 1)
number. */
DEFTREECODE (USERDEF_LITERAL, "userdef_literal", tcc_exceptional, 3)
+/* Represents a 'sizeof' expression during C++ template expansion,
+ or for the purpose of -Wsizeof-pointer-memaccess warning. */
+DEFTREECODE (SIZEOF_EXPR, "sizeof_expr", tcc_expression, 1)
+
/*
Local variables:
mode:c