aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-05-10 23:03:15 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2015-05-10 21:03:15 +0000
commit15296d46dec964f4f2fea572c183462dbd96e576 (patch)
treeeff4cc7d99e6fb6b5bb97e85911269f526cc1081 /gcc/tree.def
parente587377d38dc7aa230f103008851147021bcb624 (diff)
downloadgcc-15296d46dec964f4f2fea572c183462dbd96e576.zip
gcc-15296d46dec964f4f2fea572c183462dbd96e576.tar.gz
gcc-15296d46dec964f4f2fea572c183462dbd96e576.tar.bz2
tree.c (free_lang_data_in_type): Free TREE_PURPOSE of TYPE_ARG_TYPES list.
* tree.c (free_lang_data_in_type): Free TREE_PURPOSE of TYPE_ARG_TYPES list. (verify_type): Permit non-NULL TREE_PURPOSE in non-LTO builds. * tree.def (FUNCTION_TYPE): Document TREE_PURPOSE in TYPE_ARG_TYPES From-SVN: r222984
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index b4b4164..ea7bea0 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -245,6 +245,8 @@ DEFTREECODE (POINTER_BOUNDS_TYPE, "pointer_bounds_type", tcc_type, 0)
TREE_TYPE type of value returned.
TYPE_ARG_TYPES list of types of arguments expected.
this list is made of TREE_LIST nodes.
+ In this list TREE_PURPOSE can be used to indicate the default
+ value of parameter (used by C++ frontend).
Types of "Procedures" in languages where they are different from functions
have code FUNCTION_TYPE also, but then TREE_TYPE is zero or void type. */
DEFTREECODE (FUNCTION_TYPE, "function_type", tcc_type, 0)