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
9c0e838f
Commit
9c0e838f
authored
Jun 27, 1996
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't call ADJUST_INSN_LENGTH on an insn inside a sequence
From-SVN: r12336
parent
458c16f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
gcc/config/sh/sh.c
+10
-4
No files found.
gcc/config/sh/sh.c
View file @
9c0e838f
...
@@ -556,10 +556,16 @@ output_branch (logic, insn, operands)
...
@@ -556,10 +556,16 @@ output_branch (logic, insn, operands)
int
adjusted_length
;
int
adjusted_length
;
/* Undo the effects of ADJUST_INSN_LENGTH, so that we get the real
/* Undo the effects of ADJUST_INSN_LENGTH, so that we get the real
length. */
length. If NEXT_INSN (PREV_INSN (insn)) != insn, then the insn
adjusted_length
=
length
;
is inside a sequence, and ADJUST_INSN_LENGTH was not called on
ADJUST_INSN_LENGTH
(
insn
,
adjusted_length
);
it. */
length
-=
(
adjusted_length
-
length
);
if
(
PREV_INSN
(
insn
)
==
NULL
||
NEXT_INSN
(
PREV_INSN
(
insn
))
==
insn
)
{
adjusted_length
=
length
;
ADJUST_INSN_LENGTH
(
insn
,
adjusted_length
);
length
-=
(
adjusted_length
-
length
);
}
switch
(
length
)
switch
(
length
)
{
{
...
...
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