• zack's avatar
    * cppfiles.c (redundant_include_p): Provide length of token to · 14feeeba
    zack authored
    	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.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33551 138bc75d-0d04-0410-961f-82ee72b054a4
    14feeeba
cppfiles.c 33.7 KB