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
7ad7f828
Commit
7ad7f828
authored
Sep 21, 1998
by
John Carr
Committed by
John Carr
Sep 21, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* final.c (final_scan_insn): Disable tracking CC across branches.
From-SVN: r22533
parent
43566944
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
gcc/ChangeLog
+4
-0
gcc/final.c
+5
-2
No files found.
gcc/ChangeLog
View file @
7ad7f828
Mon
Sep
21
20
:
19
:
41
1998
John
Carr
<
jfc
@mit
.
edu
>
*
final
.
c
(
final_scan_insn
)
:
Disable
tracking
CC
across
branches
.
Mon
Sep
21
17
:
15
:
26
EDT
1998
Andrew
MacLeod
<
amacleod
@cygnus
.
com
>
*
expr
.
h
(
eh_rtime_match_libfunc
)
:
New
extern
declaration
.
...
...
gcc/final.c
View file @
7ad7f828
...
...
@@ -1983,7 +1983,7 @@ final (first, file, optimize, prescan)
#ifdef HAVE_cc0
/* If CC tracking across branches is enabled, record the insn which
jumps to each branch only reached from one place. */
if
(
GET_CODE
(
insn
)
==
JUMP_INSN
)
if
(
optimize
&&
GET_CODE
(
insn
)
==
JUMP_INSN
)
{
rtx
lab
=
JUMP_LABEL
(
insn
);
if
(
lab
&&
LABEL_NUSES
(
lab
)
==
1
)
...
...
@@ -2299,7 +2299,10 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
CC_STATUS_INIT
;
/* If this label is reached from only one place, set the condition
codes from the instruction just before the branch. */
if
(
LABEL_NUSES
(
insn
)
==
1
)
/* Disabled because some insns set cc_status in the C output code
and NOTICE_UPDATE_CC alone can set incorrect status. */
if
(
0
/* optimize && LABEL_NUSES (insn) == 1*/
)
{
rtx
jump
=
LABEL_REFS
(
insn
);
rtx
barrier
=
prev_nonnote_insn
(
insn
);
...
...
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