summaryrefslogtreecommitdiff
path: root/gcc/c-lex.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/c-lex.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/c-lex.c')
-rw-r--r--gcc/c-lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index c7d03fb47e4..0e1473b13e7 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -122,7 +122,7 @@ get_fileinfo (const char *name)
if (n)
return (struct c_fileinfo *) n->value;
- fi = xmalloc (sizeof (struct c_fileinfo));
+ fi = XNEW (struct c_fileinfo);
fi->time = 0;
fi->interface_only = 0;
fi->interface_unknown = 1;