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
3f954fc3
Commit
3f954fc3
authored
Aug 02, 2000
by
Mark Mitchell
Committed by
Mark Mitchell
Aug 02, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cp-tree.h (DECL_NEEDED_P): Tweak.
From-SVN: r35426
parent
b6cc0a72
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletions
+24
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/cp-tree.h
+1
-1
gcc/testsuite/g++.old-deja/g++.other/static14.C
+19
-0
No files found.
gcc/cp/ChangeLog
View file @
3f954fc3
2000-08-02 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (DECL_NEEDED_P): Tweak.
2000-07-28 Jason Merrill <jason@redhat.com>
2000-07-28 Jason Merrill <jason@redhat.com>
* lang-specs.h: Use %i in rule for .ii files.
* lang-specs.h: Use %i in rule for .ii files.
...
...
gcc/cp/cp-tree.h
View file @
3f954fc3
...
@@ -1936,7 +1936,7 @@ struct lang_decl
...
@@ -1936,7 +1936,7 @@ struct lang_decl
anything that isn't comdat, but we don't know for sure whether or
anything that isn't comdat, but we don't know for sure whether or
not something is comdat until end-of-file. */
not something is comdat until end-of-file. */
#define DECL_NEEDED_P(DECL) \
#define DECL_NEEDED_P(DECL) \
((at_eof &&
!DECL_COMDAT (DECL))
\
((at_eof &&
TREE_PUBLIC (DECL) && !DECL_COMDAT (DECL))
\
|| (TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME ((DECL)))) \
|| (TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME ((DECL)))) \
|| (flag_syntax_only && TREE_USED ((DECL))))
|| (flag_syntax_only && TREE_USED ((DECL))))
...
...
gcc/testsuite/g++.old-deja/g++.other/static14.C
0 → 100644
View file @
3f954fc3
// Build don't run:
// Origin: scott snyder <snyder@fnal.gov>
struct
basic_string
{
~
basic_string
();
};
struct
Side
{
void
name
()
{
static
basic_string
sname
;
}
};
int
main
()
{
}
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