summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-02 17:11:53 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-02 17:11:53 +0000
commitc1f8b3321d711be668f4e4e958b5edacdc50e382 (patch)
tree53e7b74cc8c48830a1fcafe6383bae53f37a37ce /gcc/tree.h
parent1b455b6c6650ab74cca54c10d10943907309a699 (diff)
downloadgcc-c1f8b3321d711be668f4e4e958b5edacdc50e382.tar.gz
2005-12-02 Richard Guenther <rguenther@suse.de>
* tree.h (build): Remove prototype. (build, _buildN1, _buildN2, _buildC1, _buildC2): Remove macros. * tree.c (build): Remove. (build0_stat): Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107909 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 2a1d6e2664e..6946dd450a8 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3137,21 +3137,8 @@ extern tree maybe_get_identifier (const char *);
/* Construct various types of nodes. */
-extern tree build (enum tree_code, tree, ...);
extern tree build_nt (enum tree_code, ...);
-#if GCC_VERSION >= 3000 || __STDC_VERSION__ >= 199901L
-/* Use preprocessor trickery to map "build" to "buildN" where N is the
- expected number of arguments. This is used for both efficiency (no
- varargs), and checking (verifying number of passed arguments). */
-#define build(code, ...) \
- _buildN1(build, _buildC1(__VA_ARGS__))(code, __VA_ARGS__)
-#define _buildN1(BASE, X) _buildN2(BASE, X)
-#define _buildN2(BASE, X) BASE##X
-#define _buildC1(...) _buildC2(__VA_ARGS__,9,8,7,6,5,4,3,2,1,0,0)
-#define _buildC2(x,a1,a2,a3,a4,a5,a6,a7,a8,a9,c,...) c
-#endif
-
extern tree build0_stat (enum tree_code, tree MEM_STAT_DECL);
#define build0(c,t) build0_stat (c,t MEM_STAT_INFO)
extern tree build1_stat (enum tree_code, tree, tree MEM_STAT_DECL);