Commit 22dfb60e by Richard Guenther Committed by Richard Biener

re PR middle-end/41814 (ICE in jc1 during bootstrap of gcj)

2009-10-25  Richard Guenther  <rguenther@suse.de>

	PR middle-end/41814
	* tree.c (find_decls_types_r): Deal with Java overloading
	BINFO_VIRTUALS for its own purpose.

From-SVN: r153539
parent 8af9d17f
2009-10-25 Richard Guenther <rguenther@suse.de>
PR middle-end/41814
* tree.c (find_decls_types_r): Deal with Java overloading
BINFO_VIRTUALS for its own purpose.
2009-10-24 Adam Nemet <anemet@caviumnetworks.com> 2009-10-24 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/predicates.md (hilo_operand): New predicate. * config/mips/predicates.md (hilo_operand): New predicate.
...@@ -4648,11 +4648,15 @@ find_decls_types_r (tree *tp, int *ws, void *data) ...@@ -4648,11 +4648,15 @@ find_decls_types_r (tree *tp, int *ws, void *data)
i, tem); ++i) i, tem); ++i)
fld_worklist_push (TREE_TYPE (tem), fld); fld_worklist_push (TREE_TYPE (tem), fld);
tem = BINFO_VIRTUALS (TYPE_BINFO (t)); tem = BINFO_VIRTUALS (TYPE_BINFO (t));
while (tem) if (tem
{ /* The Java FE overloads BINFO_VIRTUALS for its own purpose. */
fld_worklist_push (TREE_VALUE (tem), fld); && TREE_CODE (tem) == TREE_LIST)
tem = TREE_CHAIN (tem); do
} {
fld_worklist_push (TREE_VALUE (tem), fld);
tem = TREE_CHAIN (tem);
}
while (tem);
} }
if (RECORD_OR_UNION_TYPE_P (t)) if (RECORD_OR_UNION_TYPE_P (t))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment