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
242b0ce6
Commit
242b0ce6
authored
24 years ago
by
Alexandre Oliva
Committed by
Alexandre Oliva
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* emit-rtl.c (unshare_all_rtl): Store the copied rtx.
From-SVN: r34056
parent
a8228686
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/emit-rtl.c
+2
-2
No files found.
gcc/ChangeLog
View file @
242b0ce6
2000
-
05
-
20
Alexandre
Oliva
<
aoliva
@cygnus
.
com
>
*
emit
-
rtl
.
c
(
unshare_all_rtl
)
:
Store
the
copied
rtx
.
2000
-
05
-
20
Zack
Weinberg
<
zack
@wolery
.
cumb
.
org
>
*
diagnostic
.
c
:
Eliminate
implicit
int
.
This diff is collapsed.
Click to expand it.
gcc/emit-rtl.c
View file @
242b0ce6
...
...
@@ -1695,7 +1695,7 @@ unshare_all_rtl (fndecl, insn)
/* Make sure that virtual parameters are not shared. */
for
(
decl
=
DECL_ARGUMENTS
(
fndecl
);
decl
;
decl
=
TREE_CHAIN
(
decl
))
copy_rtx_if_shared
(
DECL_RTL
(
decl
));
DECL_RTL
(
decl
)
=
copy_rtx_if_shared
(
DECL_RTL
(
decl
));
/* Unshare just about everything else. */
unshare_all_rtl_1
(
insn
);
...
...
@@ -1707,7 +1707,7 @@ unshare_all_rtl (fndecl, insn)
This special care is necessary when the stack slot MEM does not
actually appear in the insn chain. If it does appear, its address
is unshared from all else at that point. */
copy_rtx_if_shared
(
stack_slot_list
);
stack_slot_list
=
copy_rtx_if_shared
(
stack_slot_list
);
}
/* Go through all the RTL insn bodies and copy any invalid shared
...
...
This diff is collapsed.
Click to expand it.
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