summaryrefslogtreecommitdiff
path: root/gcc/read-rtl.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/read-rtl.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/read-rtl.c')
-rw-r--r--gcc/read-rtl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c
index d17235f5f61..3252a0fcd9f 100644
--- a/gcc/read-rtl.c
+++ b/gcc/read-rtl.c
@@ -439,10 +439,10 @@ read_constants (FILE *infile, char *tmp_char)
if (c != '(')
fatal_expected_char (infile, '(', c);
- def = xmalloc (sizeof (struct md_constant));
+ def = XNEW (struct md_constant);
def->name = tmp_char;
read_name (tmp_char, infile);
- entry_ptr = htab_find_slot (defs, def, TRUE);
+ entry_ptr = htab_find_slot (defs, def, INSERT);
if (! *entry_ptr)
def->name = xstrdup (tmp_char);
c = read_skip_spaces (infile);