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
b49bd379
Commit
b49bd379
authored
Aug 16, 2009
by
Jason Merrill
Committed by
Jason Merrill
Aug 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c (mark_used): It's ok to synthesize for default args now.
From-SVN: r150805
parent
30fff3d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl2.c
+1
-6
No files found.
gcc/cp/ChangeLog
View file @
b49bd379
2009-08-15 Jason Merrill <jason@redhat.com>
* decl2.c (mark_used): It's ok to synthesize for default args now.
2009-08-10 Jason Merrill <jason@redhat.com>
2009-08-10 Jason Merrill <jason@redhat.com>
Implement DR 757: It's OK for a decl to use a type without linkage
Implement DR 757: It's OK for a decl to use a type without linkage
...
...
gcc/cp/decl2.c
View file @
b49bd379
...
@@ -3943,12 +3943,7 @@ mark_used (tree decl)
...
@@ -3943,12 +3943,7 @@ mark_used (tree decl)
&&
DECL_NONSTATIC_MEMBER_FUNCTION_P
(
decl
)
&&
DECL_NONSTATIC_MEMBER_FUNCTION_P
(
decl
)
&&
DECL_DEFAULTED_FN
(
decl
)
&&
DECL_DEFAULTED_FN
(
decl
)
&&
!
DECL_THUNK_P
(
decl
)
&&
!
DECL_THUNK_P
(
decl
)
&&
!
DECL_INITIAL
(
decl
)
&&
!
DECL_INITIAL
(
decl
))
/* Kludge: don't synthesize for default args. Unfortunately this
rules out initializers of namespace-scoped objects too, but
it's sort-of ok if the implicit ctor or dtor decl keeps
pointing to the class location. */
&&
current_function_decl
)
{
{
synthesize_method
(
decl
);
synthesize_method
(
decl
);
/* If we've already synthesized the method we don't need to
/* If we've already synthesized the method we don't need to
...
...
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