* init.c (build_offset_ref): Remove superfluous temporary.
From-SVN: r113008
This commit is contained in:
parent
71a9b19ae8
commit
7304fcb4a7
|
@ -1,3 +1,7 @@
|
|||
2006-04-17 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
* init.c (build_offset_ref): Remove superfluous temporary.
|
||||
|
||||
2006-04-16 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR c++/26365
|
||||
|
@ -4773,7 +4777,7 @@
|
|||
* pt.c (instantiate_class_template,
|
||||
resolve_typename_type): Likewise.
|
||||
|
||||
2005-01-03 Volker Reichelt <reichelt@igpm.rwth-aaachen.de>
|
||||
2005-01-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
PR c++/14136
|
||||
* parser.c (cp_parser_unqualified_id): Do not issue error message
|
||||
|
|
|
@ -1378,8 +1378,7 @@ build_offset_ref (tree type, tree member, bool address_p)
|
|||
if (BASELINK_P (member))
|
||||
{
|
||||
/* Go from the TREE_BASELINK to the member function info. */
|
||||
tree fnfields = member;
|
||||
tree t = BASELINK_FUNCTIONS (fnfields);
|
||||
tree t = BASELINK_FUNCTIONS (member);
|
||||
|
||||
if (TREE_CODE (t) != TEMPLATE_ID_EXPR && !really_overloaded_fn (t))
|
||||
{
|
||||
|
@ -1405,10 +1404,7 @@ build_offset_ref (tree type, tree member, bool address_p)
|
|||
member = t;
|
||||
}
|
||||
else
|
||||
{
|
||||
TREE_TYPE (fnfields) = unknown_type_node;
|
||||
member = fnfields;
|
||||
}
|
||||
TREE_TYPE (member) = unknown_type_node;
|
||||
}
|
||||
else if (address_p && TREE_CODE (member) == FIELD_DECL)
|
||||
/* We need additional test besides the one in
|
||||
|
|
Loading…
Reference in New Issue