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
dd4ff203
Commit
dd4ff203
authored
Apr 18, 2003
by
Richard Kenner
Committed by
Richard Kenner
Apr 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cfgcleanup.c (flow_find_cross_jump): Use INSN_P,not active_insn_p.
From-SVN: r65797
parent
21102f25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
gcc/ChangeLog
+2
-0
gcc/cfgcleanup.c
+6
-6
No files found.
gcc/ChangeLog
View file @
dd4ff203
2003-04-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* cfgcleanup.c (flow_find_cross_jump): Use INSN_P,not active_insn_p.
* expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.
2003-04-18 Olivier Hainque <hainque@act-europe.fr>
...
...
gcc/cfgcleanup.c
View file @
dd4ff203
...
...
@@ -1044,10 +1044,10 @@ flow_find_cross_jump (mode, bb1, bb2, f1, f2)
while
(
true
)
{
/* Ignore notes. */
while
(
!
active_insn_p
(
i1
)
&&
i1
!=
bb1
->
head
)
while
(
!
INSN_P
(
i1
)
&&
i1
!=
bb1
->
head
)
i1
=
PREV_INSN
(
i1
);
while
(
!
active_insn_p
(
i2
)
&&
i2
!=
bb2
->
head
)
while
(
!
INSN_P
(
i2
)
&&
i2
!=
bb2
->
head
)
i2
=
PREV_INSN
(
i2
);
if
(
i1
==
bb1
->
head
||
i2
==
bb2
->
head
)
...
...
@@ -1056,8 +1056,8 @@ flow_find_cross_jump (mode, bb1, bb2, f1, f2)
if
(
!
insns_match_p
(
mode
,
i1
,
i2
))
break
;
/* Don't begin a cross-jump with a
USE or CLOBBER
insn. */
if
(
active_insn_p
(
i1
))
/* Don't begin a cross-jump with a
NOTE
insn. */
if
(
INSN_P
(
i1
))
{
/* If the merged insns have different REG_EQUAL notes, then
remove them. */
...
...
@@ -1096,13 +1096,13 @@ flow_find_cross_jump (mode, bb1, bb2, f1, f2)
Two, it keeps line number notes as matched as may be. */
if
(
ninsns
)
{
while
(
last1
!=
bb1
->
head
&&
!
active_insn_p
(
PREV_INSN
(
last1
)))
while
(
last1
!=
bb1
->
head
&&
!
INSN_P
(
PREV_INSN
(
last1
)))
last1
=
PREV_INSN
(
last1
);
if
(
last1
!=
bb1
->
head
&&
GET_CODE
(
PREV_INSN
(
last1
))
==
CODE_LABEL
)
last1
=
PREV_INSN
(
last1
);
while
(
last2
!=
bb2
->
head
&&
!
active_insn_p
(
PREV_INSN
(
last2
)))
while
(
last2
!=
bb2
->
head
&&
!
INSN_P
(
PREV_INSN
(
last2
)))
last2
=
PREV_INSN
(
last2
);
if
(
last2
!=
bb2
->
head
&&
GET_CODE
(
PREV_INSN
(
last2
))
==
CODE_LABEL
)
...
...
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