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
92f9aa51
Commit
92f9aa51
authored
Mar 30, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cse_insn): Add missing definition of var TEM; clean up shadowed uses.
From-SVN: r6920
parent
b0468b84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
gcc/cse.c
+7
-9
No files found.
gcc/cse.c
View file @
92f9aa51
...
@@ -5879,6 +5879,7 @@ cse_insn (insn, in_libcall_block)
...
@@ -5879,6 +5879,7 @@ cse_insn (insn, in_libcall_block)
{
{
register
rtx
x
=
PATTERN
(
insn
);
register
rtx
x
=
PATTERN
(
insn
);
register
int
i
;
register
int
i
;
rtx
tem
;
register
int
n_sets
=
0
;
register
int
n_sets
=
0
;
/* Records what this insn does to set CC0. */
/* Records what this insn does to set CC0. */
...
@@ -6038,14 +6039,11 @@ cse_insn (insn, in_libcall_block)
...
@@ -6038,14 +6039,11 @@ cse_insn (insn, in_libcall_block)
fold_rtx
(
x
,
insn
);
fold_rtx
(
x
,
insn
);
}
}
if
(
n_sets
==
1
&&
REG_NOTES
(
insn
)
!=
0
)
/* Store the equivalent value in SRC_EQV, if different. */
{
if
(
n_sets
==
1
&&
REG_NOTES
(
insn
)
!=
0
/* Store the equivalent value in SRC_EQV, if different. */
&&
(
tem
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
))
!=
0
rtx
tem
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
);
&&
!
rtx_equal_p
(
XEXP
(
tem
,
0
),
SET_SRC
(
sets
[
0
].
rtl
)))
src_eqv
=
canon_reg
(
XEXP
(
tem
,
0
),
NULL_RTX
);
if
(
tem
&&
!
rtx_equal_p
(
XEXP
(
tem
,
0
),
SET_SRC
(
sets
[
0
].
rtl
)))
src_eqv
=
canon_reg
(
XEXP
(
tem
,
0
),
NULL_RTX
);
}
/* Canonicalize sources and addresses of destinations.
/* Canonicalize sources and addresses of destinations.
We do this in a separate pass to avoid problems when a MATCH_DUP is
We do this in a separate pass to avoid problems when a MATCH_DUP is
...
@@ -6683,7 +6681,7 @@ cse_insn (insn, in_libcall_block)
...
@@ -6683,7 +6681,7 @@ cse_insn (insn, in_libcall_block)
if
(
n_sets
==
1
&&
src_const
&&
GET_CODE
(
dest
)
==
REG
if
(
n_sets
==
1
&&
src_const
&&
GET_CODE
(
dest
)
==
REG
&&
GET_CODE
(
src_const
)
!=
REG
)
&&
GET_CODE
(
src_const
)
!=
REG
)
{
{
rtx
tem
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
);
tem
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
);
/* Record the actual constant value in a REG_EQUAL note, making
/* Record the actual constant value in a REG_EQUAL note, making
a new one if one does not already exist. */
a new one if one does not already exist. */
...
...
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