init.c (build_offset_ref): Correct previous change to use build, not build_min.
* init.c (build_offset_ref): Correct previous change to use build, not build_min. From-SVN: r20319
This commit is contained in:
parent
2b01d264b1
commit
53b22f3db7
@ -1,3 +1,8 @@
|
||||
1998-06-08 Mark Mitchell <mark@markmitchell.com>
|
||||
|
||||
* init.c (build_offset_ref): Correct previous change to use build,
|
||||
not build_min.
|
||||
|
||||
1998-06-07 Mark Mitchell <mark@markmitchell.com>
|
||||
|
||||
* class.c (instantiate_type): Handle pointer-to-members where the
|
||||
|
@ -1621,9 +1621,10 @@ build_offset_ref (type, name)
|
||||
if (type == std_node)
|
||||
return do_scoped_id (name, 0);
|
||||
|
||||
if (processing_template_decl || uses_template_parms (type)
|
||||
|| TREE_CODE (name) == TEMPLATE_ID_EXPR)
|
||||
return build_min (SCOPE_REF, unknown_type_node, type, name);
|
||||
if (processing_template_decl || uses_template_parms (type))
|
||||
return build_min_nt (SCOPE_REF, type, name);
|
||||
else if (TREE_CODE (name) == TEMPLATE_ID_EXPR)
|
||||
return build (SCOPE_REF, unknown_type_node, type, name);
|
||||
|
||||
/* Handle namespace names fully here. */
|
||||
if (TREE_CODE (type) == NAMESPACE_DECL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user