mirror of git://gcc.gnu.org/git/gcc.git
re PR middle-end/63819 (Cannot build compiler with --enable-gather-detailed-mem-stats (error: default argument given for parameter 5 of ‘void* ggc_internal_cleared_alloc))
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. From-SVN: r217410
This commit is contained in:
parent
f351abd679
commit
e7d1000cd7
|
|
@ -1,3 +1,10 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2014-11-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
2014-11-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||||||
|
|
||||||
PR tree-optimization/63761
|
PR tree-optimization/63761
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
|
|
||||||
/* Stubs for GGC referenced through instantiations triggered by hash-map. */
|
/* Stubs for GGC referenced through instantiations triggered by hash-map. */
|
||||||
void *ggc_internal_cleared_alloc (size_t, void (*)(void *),
|
void *ggc_internal_cleared_alloc (size_t, void (*)(void *),
|
||||||
size_t, size_t
|
size_t, size_t MEM_STAT_DECL)
|
||||||
CXX_MEM_STAT_INFO)
|
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -196,14 +196,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#ifndef TYPED_HASHTAB_H
|
#ifndef TYPED_HASHTAB_H
|
||||||
#define TYPED_HASHTAB_H
|
#define TYPED_HASHTAB_H
|
||||||
|
|
||||||
#ifndef GENERATOR_FILE
|
|
||||||
#include "ggc.h"
|
#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 "hashtab.h"
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue