aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorMatt Austern <austern@apple.com>2003-03-31 20:02:40 +0000
committerMatt Austern <austern@gcc.gnu.org>2003-03-31 20:02:40 +0000
commitc419b113592e268e170aca1a4f8744aa5c1943cf (patch)
treef5fde18897a92ccbc7a569c6676d223f956f3a67 /gcc/c-decl.c
parentef3a7d56e900e4e4d6d97d025a368fd7075db4e6 (diff)
downloadgcc-c419b113592e268e170aca1a4f8744aa5c1943cf.zip
gcc-c419b113592e268e170aca1a4f8744aa5c1943cf.tar.gz
gcc-c419b113592e268e170aca1a4f8744aa5c1943cf.tar.bz2
cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
* cpppch.c (struct cpp_savedstate): Add defs and n_defs members. (count_defs): Keep track of number of defs as well as total size. (write_defs): Put every definition in cpp_savedstate's defs array. (comp_hashnode): Define. Comparison function for qsort. (cpp_write_pch_deps): Sort definitions before writing them. (struct ht_node_list): Define. Like cpp_savedstate but simpler. (collect_ht_nodes): Define. (cpp_valid_state): When verifying that undefined identifiers in the pch file are still undefined, read a sorted list of undefined identifiers, collect all defined identifiers into a sorted list, and walk through both lists to make sure there's no match. From-SVN: r65101
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions