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
970c9ace
Commit
970c9ace
authored
Sep 15, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(insert): Set cse_jumps_altered when inserting a LABEL_REF.
From-SVN: r10366
parent
7a9b75b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/cse.c
+8
-0
No files found.
gcc/cse.c
View file @
970c9ace
...
@@ -1287,6 +1287,14 @@ insert (x, classp, hash, mode)
...
@@ -1287,6 +1287,14 @@ insert (x, classp, hash, mode)
SET_HARD_REG_BIT
(
hard_regs_in_table
,
i
);
SET_HARD_REG_BIT
(
hard_regs_in_table
,
i
);
}
}
/* If X is a label, show we are altering jumps. We don't KNOW
we are, but we might be putting it into a insn which would
then need a new REG_LABEL note. Be conservative and say
we alter jumps here; we usually will in this case anyway. */
if
(
GET_CODE
(
x
)
==
LABEL_REF
||
(
GET_CODE
(
x
)
==
CONST
&&
GET_CODE
(
XEXP
(
x
,
0
))
==
PLUS
&&
GET_CODE
(
XEXP
(
XEXP
(
x
,
0
),
0
))
==
LABEL_REF
))
cse_jumps_altered
=
1
;
/* Put an element for X into the right hash bucket. */
/* Put an element for X into the right hash bucket. */
...
...
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