Commit 0b4c1646 by J"orn Rennecke Committed by Joern Rennecke

search.c (get_dynamic_cast_base_type): When building a new constant, set its type to ssizetype.

	* search.c (get_dynamic_cast_base_type): When building a new
	constant, set its type to ssizetype.

From-SVN: r41117
parent cb777426
Thu Apr 5 16:54:29 2001 J"orn Rennecke <amylaar@redhat.com>
* search.c (get_dynamic_cast_base_type): When building a new
constant, set its type to ssizetype.
2001-04-04 Jakub Jelinek <jakub@redhat.com>
* optimize.c (expand_call_inline): Only add newly inlined statements
......
......@@ -561,7 +561,9 @@ get_dynamic_cast_base_type (subtype, target)
if (!boff)
return offset;
return build_int_2 (boff, -1);
offset = build_int_2 (boff, -1);
TREE_TYPE (offset) = ssizetype;
return offset;
}
/* Search for a member with name NAME in a multiple inheritance lattice
......
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