diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 4192573..1410d73 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -660,7 +660,8 @@ initialize_builtins (pfile) val = b->value; len = strlen (b->name); - hp = _cpp_make_hashnode (b->name, len, b->type, -1); + hp = _cpp_make_hashnode (b->name, len, b->type, + _cpp_calc_hash (b->name, len)); hp->value.cpval = val; *(htab_find_slot (pfile->hashtab, (void *)hp, 1)) = hp; |