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
16de17ae
Commit
16de17ae
authored
Apr 27, 2010
by
Jason Merrill
Committed by
Jason Merrill
Apr 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* semantics.c (baselink_for_fns): Correct BASELINK_BINFO.
From-SVN: r158806
parent
95b24c84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
gcc/cp/ChangeLog
+2
-0
gcc/cp/semantics.c
+2
-1
No files found.
gcc/cp/ChangeLog
View file @
16de17ae
2010-04-27 Jason Merrill <jason@redhat.com>
* semantics.c (baselink_for_fns): Correct BASELINK_BINFO.
PR c++/43875
* semantics.c (lambda_return_type): Complain about
braced-init-list.
...
...
gcc/cp/semantics.c
View file @
16de17ae
...
...
@@ -2692,7 +2692,8 @@ baselink_for_fns (tree fns)
if
(
!
cl
)
cl
=
DECL_CONTEXT
(
fn
);
cl
=
TYPE_BINFO
(
cl
);
return
build_baselink
(
cl
,
cl
,
fns
,
/*optype=*/
NULL_TREE
);
return
build_baselink
(
TYPE_BINFO
(
DECL_CONTEXT
(
fn
)),
cl
,
fns
,
/*optype=*/
NULL_TREE
);
}
/* Returns true iff DECL is an automatic variable from a function outside
...
...
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