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
b0e919de
Commit
b0e919de
authored
Oct 28, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pushdecl): Allow redeclaring builtin as any sort of static.
From-SVN: r2639
parent
9df7926f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
gcc/c-decl.c
+2
-3
No files found.
gcc/c-decl.c
View file @
b0e919de
...
@@ -1906,9 +1906,8 @@ pushdecl (x)
...
@@ -1906,9 +1906,8 @@ pushdecl (x)
if
(
TREE_PUBLIC
(
name
)
if
(
TREE_PUBLIC
(
name
)
&&
!
TREE_PUBLIC
(
x
)
&&
!
DECL_EXTERNAL
(
x
))
&&
!
TREE_PUBLIC
(
x
)
&&
!
DECL_EXTERNAL
(
x
))
{
{
/* Okay to declare an ANSI built-in as inline static. */
/* Okay to redeclare an ANSI built-in as static. */
if
(
t
!=
0
&&
DECL_BUILT_IN
(
t
)
if
(
t
!=
0
&&
DECL_BUILT_IN
(
t
))
&&
DECL_INLINE
(
x
))
;
;
/* Okay to declare a non-ANSI built-in as anything. */
/* Okay to declare a non-ANSI built-in as anything. */
else
if
(
t
!=
0
&&
DECL_BUILT_IN_NONANSI
(
t
))
else
if
(
t
!=
0
&&
DECL_BUILT_IN_NONANSI
(
t
))
...
...
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