summaryrefslogtreecommitdiff
path: root/gcc/genflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genflags.c')
-rw-r--r--gcc/genflags.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/genflags.c b/gcc/genflags.c
index e96ac618e4a..14cb8ad9ecd 100644
--- a/gcc/genflags.c
+++ b/gcc/genflags.c
@@ -186,33 +186,6 @@ gen_insn (insn)
obstack_grow (obstack_ptr, &insn, sizeof (rtx));
}
-
-PTR
-xmalloc (size)
- size_t size;
-{
- register PTR val = (PTR) malloc (size);
-
- if (val == 0)
- fatal ("virtual memory exhausted");
-
- return val;
-}
-
-PTR
-xrealloc (old, size)
- PTR old;
- size_t size;
-{
- register PTR ptr;
- if (old)
- ptr = (PTR) realloc (old, size);
- else
- ptr = (PTR) malloc (size);
- if (!ptr)
- fatal ("virtual memory exhausted");
- return ptr;
-}
extern int main PARAMS ((int, char **));