aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2004-08-16 16:44:29 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-08-16 16:44:29 +0000
commit092313ae6b053cf8479a74c65789be450e674f7a (patch)
treed2793fe9cf3bfb79107b1bdef9736539a377f2b6 /gcc/tree.h
parent1f6c00dfe4c12da379e60d6c32b60f01fe5f7b42 (diff)
downloadgcc-092313ae6b053cf8479a74c65789be450e674f7a.zip
gcc-092313ae6b053cf8479a74c65789be450e674f7a.tar.gz
gcc-092313ae6b053cf8479a74c65789be450e674f7a.tar.bz2
c-typeck.c (build_c_cast): Only copy overflow from expr nodes.
* c-typeck.c (build_c_cast): Only copy overflow from expr nodes. * tree.h (IS_NON_TYPE_CODE_CLASS): Simplify. (struct tree_common): Update public_flag documentation. From-SVN: r86065
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 1df73ca..a0cc136 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -56,7 +56,7 @@ extern const char tree_code_type[];
/* Returns nonzero iff CLASS is not the tree code of a type. */
-#define IS_NON_TYPE_CODE_CLASS(CLASS) (strchr ("xbcdr<12se", (CLASS)) != 0)
+#define IS_NON_TYPE_CODE_CLASS(CLASS) ((CLASS) != 't')
/* Returns nonzero iff CLASS is the tree-code class of an
expression. */
@@ -228,8 +228,6 @@ struct tree_common GTY(())
??? and other expressions?
TREE_PUBLIC in
VAR_DECL or FUNCTION_DECL or IDENTIFIER_NODE
- TREE_VIA_PUBLIC in
- TREE_LIST or TREE_VEC
ASM_VOLATILE_P in
ASM_EXPR