aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-07-25 20:43:23 +0000
committerBernardo Innocenti <bernie@develer.com>2004-07-25 20:43:23 +0000
commit481037a5dec5fd40c4e13d2215ab9158e82d817d (patch)
treed0ebdb183f6e1572fbcf9e7c4fd5488f5016e704 /gcc/c-lex.c
parent3a4f9a78a9dd1d8abbd2402d9ef06367b760a7fa (diff)
* 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: https://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;