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
10f82b95
Commit
10f82b95
authored
Nov 23, 1999
by
Mark Mitchell
Committed by
Mark Mitchell
Nov 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cp-tree.h (DECL_NEEDED_P): Tweak to match documentation.
From-SVN: r30635
parent
a93dcbc5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/cp/ChangeLog
+5
-1
gcc/cp/cp-tree.h
+3
-2
No files found.
gcc/cp/ChangeLog
View file @
10f82b95
1999-11-23 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (DECL_NEEDED_P): Tweak to match documentation.
1999-11-22 Mark Mitchell <mark@codesourcery.com>
1999-11-22 Mark Mitchell <mark@codesourcery.com>
* cp-tree.def (CTOR_COMPLETE): New tree node.
* cp-tree.def (CTOR_COMPLETE): New tree node.
(finish_constructor_body): Add it, to mark the end of the
* decl.c
(finish_constructor_body): Add it, to mark the end of the
constructor.
constructor.
(finish_function): Don't call end_protect_partials here.
(finish_function): Don't call end_protect_partials here.
* ir.texi (CTOR_COMPLETE): Document it.
* ir.texi (CTOR_COMPLETE): Document it.
...
...
gcc/cp/cp-tree.h
View file @
10f82b95
...
@@ -2634,8 +2634,9 @@ extern int flag_new_for_scope;
...
@@ -2634,8 +2634,9 @@ extern int flag_new_for_scope;
the symbol has been referenced in the generated code. If, however,
the symbol has been referenced in the generated code. If, however,
we are not generating code, then it is also true when a symbol has
we are not generating code, then it is also true when a symbol has
just been used somewhere, even if it's not really needed. */
just been used somewhere, even if it's not really needed. */
#define DECL_NEEDED_P(DECL) \
#define DECL_NEEDED_P(DECL) \
(TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME ((DECL)))) \
((TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME ((DECL)))) \
|| (flag_syntax_only && TREE_USED ((DECL))))
/* An un-parsed default argument looks like an identifier. */
/* An un-parsed default argument looks like an identifier. */
#define DEFARG_LENGTH(NODE) (DEFAULT_ARG_CHECK(NODE)->identifier.length)
#define DEFARG_LENGTH(NODE) (DEFAULT_ARG_CHECK(NODE)->identifier.length)
...
...
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