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
878de307
Commit
878de307
authored
May 19, 2001
by
Mark Mitchell
Committed by
Mark Mitchell
May 19, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jump.c (mark_jump_label): Tidy previous change.
From-SVN: r42327
parent
baacc9f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
gcc/ChangeLog
+4
-0
gcc/jump.c
+6
-14
No files found.
gcc/ChangeLog
View file @
878de307
2001
-
05
-
19
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
jump
.
c
(
mark_jump_label
)
:
Tidy
previous
change
.
2001
-
05
-
19
Bruce
Korb
<
bkorb
@gnu
.
org
>
*
fixinc
/
genfixes
:
no
need
for
two
warnings
...
...
gcc/jump.c
View file @
878de307
...
...
@@ -2556,20 +2556,12 @@ mark_jump_label (x, insn, cross_jump, in_mem)
/* We may also have a REG_EQUAL note to indicate that
a register is being set to the address of the
label. We cannot use find_reg_note as above
because the REG_EQUAL note will use a LABEL_REF,
not the actual CODE_LABEL. */
for
(
note
=
REG_NOTES
(
insn
);
note
;
note
=
XEXP
(
note
,
1
))
if
(
REG_NOTE_KIND
(
note
)
==
REG_EQUAL
)
{
if
(
GET_CODE
(
XEXP
(
note
,
0
))
==
LABEL_REF
&&
XEXP
(
XEXP
(
note
,
0
),
0
)
==
olabel
)
XEXP
(
XEXP
(
note
,
0
),
0
)
=
label
;
/* There is only one REG_EQUAL note per
instruction, so we are done at this
point. */
break
;
}
label. */
note
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
);
if
(
note
&&
GET_CODE
(
XEXP
(
note
,
0
))
==
LABEL_REF
&&
XEXP
(
XEXP
(
note
,
0
),
0
)
==
olabel
)
XEXP
(
XEXP
(
note
,
0
),
0
)
=
label
;
}
/* Otherwise, add a REG_LABEL note for LABEL unless there already
...
...
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