summaryrefslogtreecommitdiff
path: root/gcc/genmodes.c
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 20:43:23 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 20:43:23 +0000
commit9318f22c615651d01d70b7311bff88ba220173d6 (patch)
treed0ebdb183f6e1572fbcf9e7c4fd5488f5016e704 /gcc/genmodes.c
parentbf2df78f1b9a2bcfd18251abc218e969f34a40c9 (diff)
downloadgcc-9318f22c615651d01d70b7311bff88ba220173d6.tar.gz
* bitmap.c: Use type-safe memory allocation macros from libiberty.
* c-common.c: Likewise. * c-decl.c: Likewise. * c-lang.c: Likewise. * c-lex.c: Likewise. * c-opts.c: Likewise. * c-parse.in: Likewise. * c-typeck.c: Likewise. * genconditions.c: Likewise. * gengtype-lex.l: Likewise. * gengtype-yacc.y: Likewise. * gengtype.c: Likewise. * genmodes.c: Likewise. * gensupport.c: Likewise. * read-rtl.c: Likewise. * read-rtl.c (read_constants): Use INSERT instead of TRUE in call to htab_find_slot(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genmodes.c')
-rw-r--r--gcc/genmodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genmodes.c b/gcc/genmodes.c
index fb2bb46d56d..2a3bb6ccc88 100644
--- a/gcc/genmodes.c
+++ b/gcc/genmodes.c
@@ -226,7 +226,7 @@ new_adjust (const char *name,
return;
}
- a = xmalloc (sizeof (struct mode_adjust));
+ a = XNEW (struct mode_adjust);
a->mode = mode;
a->adjustment = adjustment;
a->file = file;