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
9dcb4381
Commit
9dcb4381
authored
Feb 16, 2004
by
Richard Henderson
Committed by
Richard Henderson
Feb 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note.
From-SVN: r77877
parent
1472042a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletions
+15
-1
gcc/ChangeLog
+4
-0
gcc/cse.c
+11
-1
No files found.
gcc/ChangeLog
View file @
9dcb4381
2004-02-16 Richard Henderson <rth@redhat.com>
* cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note.
2004-02-15 Kazu Hirata <kazu@cs.umass.edu>
2004-02-15 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md: Remove unnecessary parallels from
* config/h8300/h8300.md: Remove unnecessary parallels from
...
...
gcc/cse.c
View file @
9dcb4381
...
@@ -5719,10 +5719,20 @@ cse_insn (rtx insn, rtx libcall_insn)
...
@@ -5719,10 +5719,20 @@ cse_insn (rtx insn, rtx libcall_insn)
and hope for the best. */
and hope for the best. */
if
(
n_sets
==
1
)
if
(
n_sets
==
1
)
{
{
rtx
new
=
emit_jump_insn_after
(
gen_jump
(
XEXP
(
src
,
0
)),
insn
)
;
rtx
new
,
note
;
new
=
emit_jump_insn_after
(
gen_jump
(
XEXP
(
src
,
0
)),
insn
);
JUMP_LABEL
(
new
)
=
XEXP
(
src
,
0
);
JUMP_LABEL
(
new
)
=
XEXP
(
src
,
0
);
LABEL_NUSES
(
XEXP
(
src
,
0
))
++
;
LABEL_NUSES
(
XEXP
(
src
,
0
))
++
;
/* Make sure to copy over REG_NON_LOCAL_GOTO. */
note
=
find_reg_note
(
insn
,
REG_NON_LOCAL_GOTO
,
0
);
if
(
note
)
{
XEXP
(
note
,
1
)
=
NULL_RTX
;
REG_NOTES
(
new
)
=
note
;
}
delete_insn
(
insn
);
delete_insn
(
insn
);
insn
=
new
;
insn
=
new
;
...
...
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