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
ae32f34a
Commit
ae32f34a
authored
Feb 09, 2000
by
Richard Henderson
Committed by
Richard Henderson
Feb 09, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jump.c (delete_insn): Don't delete user labels at -O0.
From-SVN: r31885
parent
7e1878ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
gcc/ChangeLog
+4
-0
gcc/jump.c
+12
-8
No files found.
gcc/ChangeLog
View file @
ae32f34a
2000
-
02
-
09
Richard
Henderson
<
rth
@cygnus
.
com
>
*
jump
.
c
(
delete_insn
)
:
Don
'
t
delete
user
labels
at
-
O0
.
2000
-
02
-
09
Robert
Lipe
<
robertl
@sco
.
com
>
*
Makefile
.
in
(
gen
-
protos
)
:
Don
'
t
depend
on
HOST_LIBDEPS
.
...
...
gcc/jump.c
View file @
ae32f34a
...
...
@@ -4223,15 +4223,19 @@ delete_insn (insn)
if
(
was_code_label
)
remove_node_from_expr_list
(
insn
,
&
nonlocal_goto_handler_labels
);
/* Don't delete user-declared labels. Convert them to special NOTEs
instead. */
if
(
was_code_label
&&
LABEL_NAME
(
insn
)
!=
0
&&
optimize
&&
!
dont_really_delete
)
/* Don't delete user-declared labels. When optimizing, convert them
to special NOTEs instead. When not optimizing, leave them alone. */
if
(
was_code_label
&&
LABEL_NAME
(
insn
)
!=
0
)
{
PUT_CODE
(
insn
,
NOTE
);
NOTE_LINE_NUMBER
(
insn
)
=
NOTE_INSN_DELETED_LABEL
;
NOTE_SOURCE_FILE
(
insn
)
=
0
;
dont_really_delete
=
1
;
if
(
!
optimize
)
dont_really_delete
=
1
;
else
if
(
!
dont_really_delete
)
{
PUT_CODE
(
insn
,
NOTE
);
NOTE_LINE_NUMBER
(
insn
)
=
NOTE_INSN_DELETED_LABEL
;
NOTE_SOURCE_FILE
(
insn
)
=
0
;
dont_really_delete
=
1
;
}
}
else
/* Mark this insn as deleted. */
...
...
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