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
29495994
Commit
29495994
authored
May 22, 2003
by
Richard Kenner
Committed by
Richard Kenner
May 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
From-SVN: r67096
parent
0aef8de2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+4
-0
gcc/c-decl.c
+4
-1
No files found.
gcc/ChangeLog
View file @
29495994
2003-05-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
2003-05-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2003-05-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
* m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
...
...
gcc/c-decl.c
View file @
29495994
...
@@ -1543,6 +1543,7 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
...
@@ -1543,6 +1543,7 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
/* Return any external DECL associated with ID, whether or not it is
/* Return any external DECL associated with ID, whether or not it is
currently in scope. */
currently in scope. */
static
tree
static
tree
any_external_decl
(
id
)
any_external_decl
(
id
)
tree
id
;
tree
id
;
...
@@ -1550,7 +1551,9 @@ any_external_decl (id)
...
@@ -1550,7 +1551,9 @@ any_external_decl (id)
tree
decl
=
IDENTIFIER_SYMBOL_VALUE
(
id
);
tree
decl
=
IDENTIFIER_SYMBOL_VALUE
(
id
);
tree
t
;
tree
t
;
if
(
decl
&&
TREE_CODE
(
decl
)
!=
TYPE_DECL
&&
DECL_EXTERNAL
(
decl
))
if
(
decl
==
0
||
TREE_CODE
(
decl
)
==
ERROR_MARK
)
return
0
;
else
if
(
TREE_CODE
(
decl
)
!=
TYPE_DECL
&&
DECL_EXTERNAL
(
decl
))
return
decl
;
return
decl
;
t
=
purpose_member
(
id
,
truly_local_externals
);
t
=
purpose_member
(
id
,
truly_local_externals
);
...
...
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