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
7c22ee2b
Commit
7c22ee2b
authored
Jan 20, 2000
by
Richard Henderson
Committed by
Richard Henderson
Jan 20, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
From-SVN: r31546
parent
7e7cf28a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/jump.c
+3
-3
No files found.
gcc/ChangeLog
View file @
7c22ee2b
2000
-
01
-
20
Richard
Henderson
<
rth
@cygnus
.
com
>
*
jump
.
c
(
jump_optimize_1
)
:
Don
'
t
do
addr_vec
optimizations
at
-
O0
.
2000
-
01
-
20
Zack
Weinberg
<
zack
@wolery
.
cumb
.
org
>
*
Makefile
.
in
(
fixinc
.
sh
)
:
Depend
on
specs
.
...
...
gcc/jump.c
View file @
7c22ee2b
...
...
@@ -337,6 +337,9 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
if
(
nlabel
!=
JUMP_LABEL
(
insn
))
changed
|=
redirect_jump
(
insn
,
nlabel
);
if
(
!
optimize
)
continue
;
/* If a dispatch table always goes to the same place,
get rid of it and replace the insn that uses it. */
...
...
@@ -373,9 +376,6 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
}
}
if
(
!
optimize
)
continue
;
/* If a jump references the end of the function, try to turn
it into a RETURN insn, possibly a conditional one. */
if
(
JUMP_LABEL
(
insn
)
!=
0
...
...
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