aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-none.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-01-23 19:22:01 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-01-23 19:22:01 +0000
commit9fcdd8917caba77d188f6facf1623100318cba43 (patch)
treee1398ce8b4f5f98a45b8f38df417d486bb273c79 /gcc/ggc-none.c
parent6d77cdc3aab2d3a3ae6a5bc19db953a53833f5ab (diff)
downloadgcc-9fcdd8917caba77d188f6facf1623100318cba43.zip
gcc-9fcdd8917caba77d188f6facf1623100318cba43.tar.gz
gcc-9fcdd8917caba77d188f6facf1623100318cba43.tar.bz2
re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)
config: * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do anything for non-GCC compilers. libcpp: * configure: Regenerate. gcc: PR bootstrap/18058 * recog.c (recog_memoized): Don't define if GENERATOR_FILE. * ggc-none.c (ggc_free): Define. From-SVN: r94123
Diffstat (limited to 'gcc/ggc-none.c')
-rw-r--r--gcc/ggc-none.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c
index 0cc0c4a..54b7d15 100644
--- a/gcc/ggc-none.c
+++ b/gcc/ggc-none.c
@@ -1,5 +1,5 @@
/* Null garbage collection for the GNU compiler.
- Copyright (C) 1998, 1999, 2000, 2003, 2004
+ Copyright (C) 1998, 1999, 2000, 2003, 2004, 2005
Free Software Foundation, Inc.
This file is part of GCC.
@@ -67,3 +67,9 @@ ggc_realloc_stat (void *x, size_t size MEM_STAT_DECL)
{
return xrealloc (x, size);
}
+
+void
+ggc_free (void *p)
+{
+ free (p);
+}