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
744c6d6e
Commit
744c6d6e
authored
Mar 29, 2008
by
Ben Elliston
Committed by
Ben Elliston
Mar 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* final.c (final_scan_insn): Remove if (0) code.
From-SVN: r133719
parent
e3a692a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
24 deletions
+4
-24
gcc/ChangeLog
+4
-0
gcc/final.c
+0
-24
No files found.
gcc/ChangeLog
View file @
744c6d6e
2008-03-30 Ben Elliston <bje@au.ibm.com>
* final.c (final_scan_insn): Remove if (0) code.
2008-03-28 Volker Reichelt <v.reichelt@netcologne.de>
* c-parser.c (c_parser_next_token_is_keyword): Simplify.
...
...
gcc/final.c
View file @
744c6d6e
...
...
@@ -1978,30 +1978,6 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
}
#ifdef HAVE_cc0
CC_STATUS_INIT
;
/* If this label is reached from only one place, set the condition
codes from the instruction just before the branch. */
/* 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
);
rtx
prev
;
/* If the LABEL_REFS field of this label has been set to point
at a branch, the predecessor of the branch is a regular
insn, and that branch is the only way to reach this label,
set the condition codes based on the branch and its
predecessor. */
if
(
barrier
&&
BARRIER_P
(
barrier
)
&&
jump
&&
JUMP_P
(
jump
)
&&
(
prev
=
prev_nonnote_insn
(
jump
))
&&
NONJUMP_INSN_P
(
prev
))
{
NOTICE_UPDATE_CC
(
PATTERN
(
prev
),
prev
);
NOTICE_UPDATE_CC
(
PATTERN
(
jump
),
jump
);
}
}
#endif
if
(
LABEL_NAME
(
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