Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e710066d
Commit
e710066d
authored
Jul 25, 2003
by
Nathan Sidwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert patch for 11617 which accidently crept in
From-SVN: r69779
parent
a91db711
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
14 deletions
+13
-14
gcc/cp/pt.c
+13
-14
No files found.
gcc/cp/pt.c
View file @
e710066d
...
...
@@ -7150,7 +7150,8 @@ tsubst_qualified_id (tree qualified_id, tree args,
}
if
(
!
BASELINK_P
(
name
)
&&
!
DECL_P
(
expr
))
expr
=
lookup_qualified_name
(
scope
,
expr
,
/*is_type_p=*/
0
,
false
);
expr
=
lookup_qualified_name
(
scope
,
expr
,
/*is_type_p=*/
0
,
(
complain
&
tf_error
)
!=
0
);
if
(
DECL_P
(
expr
))
check_accessibility_of_qualified_id
(
expr
,
/*object_type=*/
NULL_TREE
,
...
...
@@ -7167,9 +7168,7 @@ tsubst_qualified_id (tree qualified_id, tree args,
if
(
is_template
)
expr
=
lookup_template_function
(
expr
,
template_args
);
if
(
expr
==
error_mark_node
&&
complain
&
tf_error
)
nested_name_lookup_error
(
scope
,
TREE_OPERAND
(
qualified_id
,
1
));
else
if
(
TYPE_P
(
scope
))
if
(
TYPE_P
(
scope
))
{
expr
=
(
adjust_result_of_qualified_name_lookup
(
expr
,
scope
,
current_class_type
));
...
...
@@ -7590,15 +7589,12 @@ tsubst_expr (tree t, tree args, tsubst_flags_t complain, tree in_decl)
{
tree
scope
=
DECL_INITIAL
(
decl
);
tree
name
=
DECL_NAME
(
decl
);
tree
decl
;
scope
=
tsubst_expr
(
scope
,
args
,
complain
,
in_decl
);
decl
=
lookup_qualified_name
(
scope
,
name
,
/*is_type_p=*/
0
,
/*complain=*/
false
);
if
(
decl
==
error_mark_node
)
nested_name_lookup_error
(
scope
,
name
);
else
do_local_using_decl
(
decl
);
do_local_using_decl
(
lookup_qualified_name
(
scope
,
name
,
/*is_type_p=*/
0
,
/*complain=*/
true
));
}
else
{
...
...
@@ -8256,15 +8252,18 @@ tsubst_copy_and_build (tree t,
scope is. */
tmpl
=
TREE_OPERAND
(
TREE_OPERAND
(
member
,
1
),
0
);
args
=
TREE_OPERAND
(
TREE_OPERAND
(
member
,
1
),
1
);
member
=
lookup_qualified_name
(
TREE_OPERAND
(
member
,
0
),
tmpl
,
/*is_type=*/
0
,
/*complain=*/
false
);
member
=
lookup_qualified_name
(
TREE_OPERAND
(
member
,
0
),
tmpl
,
/*is_type=*/
0
,
/*complain=*/
true
);
if
(
BASELINK_P
(
member
))
BASELINK_FUNCTIONS
(
member
)
=
build_nt
(
TEMPLATE_ID_EXPR
,
BASELINK_FUNCTIONS
(
member
),
args
);
else
{
nested_name_lookup_error
(
TREE_TYPE
(
object
),
tmpl
);
error
(
"`%D' is not a member of `%T'"
,
tmpl
,
TREE_TYPE
(
object
));
return
error_mark_node
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment