]> gcc.gnu.org Git - gcc.git/commit
cppfiles.c (redundant_include_p): Provide length of token to cpp_defined.
authorZack Weinberg <zack@wolery.cumb.org>
Sun, 30 Apr 2000 17:11:25 +0000 (17:11 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sun, 30 Apr 2000 17:11:25 +0000 (17:11 +0000)
commit638d694d84aedb360309dd956b261e428d85f092
treeb2cbd4667ef9d395099460fd9be30ff0ec56ed29
parent3f49b8429cb6e4f440d796b8ed8bd75185ada516
cppfiles.c (redundant_include_p): Provide length of token to cpp_defined.

* cppfiles.c (redundant_include_p): Provide length of token to
cpp_defined.
* cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
values are unsigned int.
(_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
(_cpp_lookup_slot): Do not calculate the hash, either.
* cpphash.h: Update prototypes.
* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
Hashes are unsigned int.  Calculate hash here, pass by value
to _cpp_lookup_slot.

From-SVN: r33551
gcc/ChangeLog
gcc/cppfiles.c
gcc/cpphash.c
gcc/cpphash.h
gcc/cpplib.c
This page took 0.058207 seconds and 5 git commands to generate.