diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 957e611..944dd59 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -679,10 +679,9 @@ initialize_builtins (pfile) val = b->value; len = strlen (b->name); - hp = _cpp_make_hashnode (b->name, len, b->type, - _cpp_calc_hash (b->name, len)); + hp = _cpp_lookup (pfile, b->name, len); hp->value.cpval = val; - *(htab_find_slot (pfile->hashtab, (void *) hp, INSERT)) = hp; + hp->type = b->type; if ((b->flags & DUMP) && CPP_OPTION (pfile, debug_output)) dump_special_to_buffer (pfile, b->name); |