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
2eb6dac7
Commit
2eb6dac7
authored
Oct 27, 1998
by
Andreas Schwab
Committed by
Jeff Law
Oct 27, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload1.c (delete_output_reload): Avoid ambigous else.
From-SVN: r23379
parent
c47f5ea5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
12 deletions
+18
-12
gcc/ChangeLog
+4
-0
gcc/reload1.c
+14
-12
No files found.
gcc/ChangeLog
View file @
2eb6dac7
1998
-
10
-
28
Andreas
Schwab
<
schwab
@issan
.
cs
.
uni
-
dortmund
.
de
>
*
reload1
.
c
(
delete_output_reload
)
:
Avoid
ambigous
else
.
Wed
Oct
28
00
:
10
:
35
1998
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
final
.
c
(
cleanup_subreg_operands
)
:
New
function
.
...
...
gcc/reload1.c
View file @
2eb6dac7
...
...
@@ -7827,19 +7827,21 @@ delete_output_reload (insn, j, last_reload_reg)
while
(
GET_CODE
(
reg2
)
==
SUBREG
)
reg2
=
SUBREG_REG
(
reg2
);
if
(
rtx_equal_p
(
reg2
,
reg
))
if
(
reload_inherited
[
k
]
||
reload_override_in
[
k
]
||
k
==
j
)
{
n_inherited
++
;
reg2
=
reload_out_reg
[
k
];
if
(
!
reg2
)
continue
;
while
(
GET_CODE
(
reg2
)
==
SUBREG
)
reg2
=
XEXP
(
reg2
,
0
);
if
(
rtx_equal_p
(
reg2
,
reg
))
{
if
(
reload_inherited
[
k
]
||
reload_override_in
[
k
]
||
k
==
j
)
{
n_inherited
++
;
}
else
return
;
reg2
=
reload_out_reg
[
k
];
if
(
!
reg2
)
continue
;
while
(
GET_CODE
(
reg2
)
==
SUBREG
)
reg2
=
XEXP
(
reg2
,
0
);
if
(
rtx_equal_p
(
reg2
,
reg
))
n_inherited
++
;
}
else
return
;
}
}
n_occurrences
=
count_occurrences
(
PATTERN
(
insn
),
reg
);
if
(
substed
)
...
...
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