aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-05-18 22:05:15 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-18 22:05:15 +0000
commit1b3459d226b20b35cb410dd957fcf0d070cb4269 (patch)
treec1e02b20d60f15a0aa07b56f35bf635004419b92 /gcc/genattrtab.c
parent606b4c940420871b8a195c6830c0dbe64a239e76 (diff)
downloadgcc-1b3459d226b20b35cb410dd957fcf0d070cb4269.zip
gcc-1b3459d226b20b35cb410dd957fcf0d070cb4269.tar.gz
gcc-1b3459d226b20b35cb410dd957fcf0d070cb4269.tar.bz2
genopinit.c: Use $ for escape sequences in optab patterns.
* genopinit.c: Use $ for escape sequences in optab patterns. Remove backslashes from optab patterns. Change $A, $B, $C to expand to (int) whatever instead of just whatever; remove explicit (int) from all optab patterns. * gensupport.c (xmalloc, xrealloc, xstrdup): Provide. * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c, genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c: Remove private copies of xmalloc, xrealloc, and From-SVN: r34000
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index 2c09e3d..db4634d9 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -5856,32 +5856,6 @@ extend_range (range, min, max)
if (range->max < max) range->max = max;
}
-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;
-}
-
-PTR
-xmalloc (size)
- size_t size;
-{
- register PTR val = (PTR) malloc (size);
-
- if (val == 0)
- fatal ("virtual memory exhausted");
- return val;
-}
-
static rtx
copy_rtx_unchanging (orig)
register rtx orig;