/* Garbage collection for the GNU compiler.
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007,
- 2008, 2009, 2010 Free Software Foundation, Inc.
+ 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of GCC.
/* The internal primitive. */
extern void *ggc_internal_alloc_stat (size_t MEM_STAT_DECL);
+extern size_t ggc_round_alloc_size (size_t requested_size);
+
#define ggc_internal_alloc(s) ggc_internal_alloc_stat (s MEM_STAT_INFO)
/* Allocate an object of the specified type and size. */
extern struct alloc_zone tree_id_zone;
#define ggc_alloc_rtvec_sized(NELT) \
- (ggc_alloc_zone_vec_rtvec_def (1, \
- sizeof (struct rtvec_def) \
- + ((NELT) - 1) * sizeof (rtx), \
- &rtl_zone))
+ ggc_alloc_zone_rtvec_def (sizeof (struct rtvec_def) \
+ + ((NELT) - 1) * sizeof (rtx), \
+ &rtl_zone)
#if defined (GGC_ZONE) && !defined (GENERATOR_FILE)