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
385d4094
Commit
385d4094
authored
Dec 02, 2001
by
Richard Henderson
Committed by
Richard Henderson
Dec 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
From-SVN: r47535
parent
998d7deb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+4
-0
gcc/c-decl.c
+4
-2
No files found.
gcc/ChangeLog
View file @
385d4094
2001
-
12
-
02
Richard
Henderson
<
rth
@redhat
.
com
>
2001
-
12
-
02
Richard
Henderson
<
rth
@redhat
.
com
>
*
c
-
decl
.
c
(
duplicate_decls
)
:
Conditionalize
DECL_SAVED_TREE
copy
.
2001
-
12
-
02
Richard
Henderson
<
rth
@redhat
.
com
>
*
rtl
.
h
(
mem_attrs
)
:
Rename
decl
to
expr
;
adjust
all
users
.
*
rtl
.
h
(
mem_attrs
)
:
Rename
decl
to
expr
;
adjust
all
users
.
(
MEM_EXPR
)
:
Rename
from
MEM_DECL
;
adjust
all
users
.
(
MEM_EXPR
)
:
Rename
from
MEM_DECL
;
adjust
all
users
.
*
emit
-
rtl
.
c
(
set_mem_expr
)
:
Rename
from
set_mem_decl
.
*
emit
-
rtl
.
c
(
set_mem_expr
)
:
Rename
from
set_mem_decl
.
...
...
gcc/c-decl.c
View file @
385d4094
...
@@ -2019,9 +2019,11 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
...
@@ -2019,9 +2019,11 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
DECL_INITIAL, so that we don't accidentally change function
DECL_INITIAL, so that we don't accidentally change function
declarations into function definitions. */
declarations into function definitions. */
if
(
!
different_binding_level
)
if
(
!
different_binding_level
)
DECL_INITIAL
(
newdecl
)
=
DECL_INITIAL
(
olddecl
);
{
DECL_INITIAL
(
newdecl
)
=
DECL_INITIAL
(
olddecl
);
DECL_SAVED_TREE
(
newdecl
)
=
DECL_SAVED_TREE
(
olddecl
);
}
DECL_SAVED_INSNS
(
newdecl
)
=
DECL_SAVED_INSNS
(
olddecl
);
DECL_SAVED_INSNS
(
newdecl
)
=
DECL_SAVED_INSNS
(
olddecl
);
DECL_SAVED_TREE
(
newdecl
)
=
DECL_SAVED_TREE
(
olddecl
);
DECL_ARGUMENTS
(
newdecl
)
=
DECL_ARGUMENTS
(
olddecl
);
DECL_ARGUMENTS
(
newdecl
)
=
DECL_ARGUMENTS
(
olddecl
);
if
(
DECL_INLINE
(
newdecl
))
if
(
DECL_INLINE
(
newdecl
))
DECL_ABSTRACT_ORIGIN
(
newdecl
)
=
DECL_ABSTRACT_ORIGIN
(
olddecl
);
DECL_ABSTRACT_ORIGIN
(
newdecl
)
=
DECL_ABSTRACT_ORIGIN
(
olddecl
);
...
...
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