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
31603723
Commit
31603723
authored
13 years ago
by
Jason Merrill
Committed by
Jason Merrill
13 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* search.c (lookup_fnfields_slot): Call complete_type.
From-SVN: r172808
parent
8adaafcf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/cp/ChangeLog
+2
-0
gcc/cp/search.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
31603723
2011-04-20 Jason Merrill <jason@redhat.com>
* search.c (lookup_fnfields_slot): Call complete_type.
PR c++/48594
* decl2.c (build_offset_ref_call_from_tree): Move
non-dependency of object outside condition.
...
...
This diff is collapsed.
Click to expand it.
gcc/cp/search.c
View file @
31603723
...
...
@@ -1451,7 +1451,7 @@ lookup_fnfields_1 (tree type, tree name)
tree
lookup_fnfields_slot
(
tree
type
,
tree
name
)
{
int
ix
=
lookup_fnfields_1
(
type
,
name
);
int
ix
=
lookup_fnfields_1
(
complete_type
(
type
)
,
name
);
if
(
ix
<
0
)
return
NULL_TREE
;
return
VEC_index
(
tree
,
CLASSTYPE_METHOD_VEC
(
type
),
ix
);
...
...
This diff is collapsed.
Click to expand it.
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