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
018795f4
Commit
018795f4
authored
Sep 15, 2013
by
Jason Merrill
Committed by
Jason Merrill
Sep 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lambda.c (add_capture): Don't add DECL_LANG_SPECIFIC.
From-SVN: r202603
parent
5ef7093d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/lambda.c
+1
-1
gcc/cp/pt.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
018795f4
2013-09-15 Jason Merrill <jason@redhat.com>
* lambda.c (add_capture): Don't add DECL_LANG_SPECIFIC.
2013-09-13 Jason Merrill <jason@redhat.com>
2013-09-13 Jason Merrill <jason@redhat.com>
PR c++/58273
PR c++/58273
...
...
gcc/cp/lambda.c
View file @
018795f4
...
@@ -499,7 +499,7 @@ add_capture (tree lambda, tree id, tree initializer, bool by_reference_p,
...
@@ -499,7 +499,7 @@ add_capture (tree lambda, tree id, tree initializer, bool by_reference_p,
}
}
/* Make member variable. */
/* Make member variable. */
member
=
build_
lang_decl
(
FIELD_DECL
,
name
,
type
);
member
=
build_
decl
(
input_location
,
FIELD_DECL
,
name
,
type
);
DECL_VLA_CAPTURE_P
(
member
)
=
vla
;
DECL_VLA_CAPTURE_P
(
member
)
=
vla
;
if
(
!
explicit_init_p
)
if
(
!
explicit_init_p
)
...
...
gcc/cp/pt.c
View file @
018795f4
...
@@ -10500,7 +10500,7 @@ tsubst_decl (tree t, tree args, tsubst_flags_t complain)
...
@@ -10500,7 +10500,7 @@ tsubst_decl (tree t, tree args, tsubst_flags_t complain)
}
}
}
}
/* Loop through all of the parameter
'
s we'll build. When T is
/* Loop through all of the parameters we'll build. When T is
a function parameter pack, LEN is the number of expanded
a function parameter pack, LEN is the number of expanded
types in EXPANDED_TYPES; otherwise, LEN is 1. */
types in EXPANDED_TYPES; otherwise, LEN is 1. */
r
=
NULL_TREE
;
r
=
NULL_TREE
;
...
...
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