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
b68a40b2
Commit
b68a40b2
authored
Oct 04, 2003
by
Fariborz Jahanian
Committed by
Fariborz Jahanian
Oct 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
retain DECL_COMMON of old declaration
Reviewed by Geoffrey Keating. From-SVN: r72094
parent
dff186db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/ChangeLog
+4
-0
gcc/c-decl.c
+1
-0
No files found.
gcc/ChangeLog
View file @
b68a40b2
2003-10-04 Fariborz Jahanian <fjahanian@apple.com>
* c-decl.c (duplicate_decls): retain DECL_COMMON of old declaration
2003-10-03 Gerald Pfeifer <gerald@pfeifer.com>
2003-10-03 Gerald Pfeifer <gerald@pfeifer.com>
* doc/extend.texi (Function Attributes): Fix title of GNU C
* doc/extend.texi (Function Attributes): Fix title of GNU C
...
...
gcc/c-decl.c
View file @
b68a40b2
...
@@ -1385,6 +1385,7 @@ duplicate_decls (tree newdecl, tree olddecl, int different_binding_level,
...
@@ -1385,6 +1385,7 @@ duplicate_decls (tree newdecl, tree olddecl, int different_binding_level,
if
(
!
DECL_EXTERNAL
(
newdecl
))
if
(
!
DECL_EXTERNAL
(
newdecl
))
{
{
DECL_CONTEXT
(
newdecl
)
=
DECL_CONTEXT
(
olddecl
);
DECL_CONTEXT
(
newdecl
)
=
DECL_CONTEXT
(
olddecl
);
DECL_COMMON
(
newdecl
)
=
DECL_COMMON
(
olddecl
);
/* If we have two non-EXTERNAL file-scope decls that are
/* If we have two non-EXTERNAL file-scope decls that are
the same, only one of them should be written out. */
the same, only one of them should be written out. */
if
(
different_tu
)
if
(
different_tu
)
...
...
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