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
538fe8cd
Commit
538fe8cd
authored
Jan 29, 1997
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a case where reg_n_refs is cleared
From-SVN: r13561
parent
a2ec2fad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
gcc/combine.c
+3
-1
No files found.
gcc/combine.c
View file @
538fe8cd
...
@@ -2355,7 +2355,9 @@ try_combine (i3, i2, i1)
...
@@ -2355,7 +2355,9 @@ try_combine (i3, i2, i1)
/* If the reg formerly set in I2 died only once and that was in I3,
/* If the reg formerly set in I2 died only once and that was in I3,
zero its use count so it won't make `reload' do any work. */
zero its use count so it won't make `reload' do any work. */
if
(
!
added_sets_2
&&
newi2pat
==
0
&&
!
i2dest_in_i2src
)
if
(
!
added_sets_2
&&
(
newi2pat
==
0
||
!
reg_mentioned_p
(
i2dest
,
newi2pat
))
&&
!
i2dest_in_i2src
)
{
{
regno
=
REGNO
(
i2dest
);
regno
=
REGNO
(
i2dest
);
reg_n_sets
[
regno
]
--
;
reg_n_sets
[
regno
]
--
;
...
...
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