* cpphash.c (dump_hash_helper): Take the slot, not the element.

From-SVN: r32566
This commit is contained in:
Jason Merrill 2000-03-15 21:54:47 +00:00 committed by Jason Merrill
parent 2ca19d5e9e
commit 1a7b4c697c
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2000-03-15 Jason Merrill <jason@casey.cygnus.com>
* cpphash.c (dump_hash_helper): Take the slot, not the element.
Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com> Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
* flow.c (verify_flow_info): Check for unconditional return. * flow.c (verify_flow_info): Check for unconditional return.
@ -37,11 +41,13 @@ Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
QUAL_UNION_TYPE handling. QUAL_UNION_TYPE handling.
Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz> Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
* flow.c (fixup_reorder_chain): Avoid double labels in the basic block; * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
end of basic block is jump_insn, not barrier; use create_basic_block end of basic block is jump_insn, not barrier; use create_basic_block
instead of creating basic block by hand. instead of creating basic block by hand.
2000-03-14 Jason Eckhardt <jle@cygnus.com> 2000-03-14 Jason Eckhardt <jle@cygnus.com>
* flow.c (reorder_basic_blocks): Account for barriers when writing * flow.c (reorder_basic_blocks): Account for barriers when writing
over NEXT_INSN (last_bb->end). over NEXT_INSN (last_bb->end).
(verify_flow_info): Add check for missing barriers. (verify_flow_info): Add check for missing barriers.

View File

@ -33,7 +33,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static unsigned int hash_HASHNODE PARAMS ((const void *)); static unsigned int hash_HASHNODE PARAMS ((const void *));
static int eq_HASHNODE PARAMS ((const void *, const void *)); static int eq_HASHNODE PARAMS ((const void *, const void *));
static void del_HASHNODE PARAMS ((void *)); static void del_HASHNODE PARAMS ((void *));
static int dump_hash_helper PARAMS ((void *, void *)); static int dump_hash_helper PARAMS ((void **, void *));
static int comp_def_part PARAMS ((int, U_CHAR *, int, U_CHAR *, static int comp_def_part PARAMS ((int, U_CHAR *, int, U_CHAR *,
int, int)); int, int));
@ -1722,10 +1722,10 @@ _cpp_dump_definition (pfile, sym, len, defn)
/* Dump out the hash table. */ /* Dump out the hash table. */
static int static int
dump_hash_helper (h, p) dump_hash_helper (h, p)
void *h; void **h;
void *p; void *p;
{ {
HASHNODE *hp = (HASHNODE *)h; HASHNODE *hp = (HASHNODE *)*h;
cpp_reader *pfile = (cpp_reader *)p; cpp_reader *pfile = (cpp_reader *)p;
if (hp->type == T_MACRO) if (hp->type == T_MACRO)