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
efd67b42
Commit
efd67b42
authored
Nov 03, 1999
by
Richard Henderson
Committed by
Richard Henderson
Nov 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-decl.c (duplicate_decls): Copy DECL_MODE too.
From-SVN: r30377
parent
d83e44be
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 @
efd67b42
Wed
Nov
3
10
:
10
:
58
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
c
-
decl
.
c
(
duplicate_decls
)
:
Copy
DECL_MODE
too
.
Wed
Nov
3
12
:
12
:
59
1999
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
Wed
Nov
3
12
:
12
:
59
1999
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
reload1
.
c
(
eliminate_regs_in_insn
)
:
If
copying
insn
,
also
copy
notes
.
*
reload1
.
c
(
eliminate_regs_in_insn
)
:
If
copying
insn
,
also
copy
notes
.
...
...
gcc/c-decl.c
View file @
efd67b42
...
@@ -1819,6 +1819,7 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
...
@@ -1819,6 +1819,7 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
{
{
/* Since the type is OLDDECL's, make OLDDECL's size go with. */
/* Since the type is OLDDECL's, make OLDDECL's size go with. */
DECL_SIZE
(
newdecl
)
=
DECL_SIZE
(
olddecl
);
DECL_SIZE
(
newdecl
)
=
DECL_SIZE
(
olddecl
);
DECL_MODE
(
newdecl
)
=
DECL_MODE
(
olddecl
);
if
(
TREE_CODE
(
olddecl
)
!=
FUNCTION_DECL
)
if
(
TREE_CODE
(
olddecl
)
!=
FUNCTION_DECL
)
if
(
DECL_ALIGN
(
olddecl
)
>
DECL_ALIGN
(
newdecl
))
if
(
DECL_ALIGN
(
olddecl
)
>
DECL_ALIGN
(
newdecl
))
DECL_ALIGN
(
newdecl
)
=
DECL_ALIGN
(
olddecl
);
DECL_ALIGN
(
newdecl
)
=
DECL_ALIGN
(
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