summaryrefslogtreecommitdiff
path: root/gcc/hash-table.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-12 10:12:47 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-12 10:12:47 +0000
commit35e1a6f418937e6a4898f0d3a62c06518d6ff695 (patch)
tree759158cc2db25b2f9f7c5de3e033c22f29735c89 /gcc/hash-table.h
parent4b2d4ce4ef95374b794930ef7139433db8e5bffa (diff)
downloadgcc-35e1a6f418937e6a4898f0d3a62c06518d6ff695.tar.gz
2014-11-12 Richard Biener <rguenther@suse.de>
PR bootstrap/63819 * hash-table.h: Include ggc.h also for generator programs. * genmatch.c (ggc_internal_cleared_alloc): Properly define using MEM_STAT_DECL instead of CXX_MEM_STAT_INFO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217410 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hash-table.h')
-rw-r--r--gcc/hash-table.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/hash-table.h b/gcc/hash-table.h
index 6df32a2e1aa..2493f2e983a 100644
--- a/gcc/hash-table.h
+++ b/gcc/hash-table.h
@@ -196,14 +196,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef TYPED_HASHTAB_H
#define TYPED_HASHTAB_H
-#ifndef GENERATOR_FILE
#include "ggc.h"
-#else
-template <typename T>
-T *ggc_cleared_vec_alloc (size_t);
-template <typename T>
-T *ggc_alloc ();
-#endif
#include "hashtab.h"
#include <new>