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
23b8ba81
Commit
23b8ba81
authored
Sep 27, 2002
by
Richard Henderson
Committed by
Richard Henderson
Sep 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* emit-rtl.c (active_insn_p): Revert last change.
From-SVN: r57590
parent
0b0f4163
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
28 deletions
+9
-28
gcc/ChangeLog
+4
-0
gcc/emit-rtl.c
+5
-28
No files found.
gcc/ChangeLog
View file @
23b8ba81
2002
-
09
-
27
Richard
Henderson
<
rth
@redhat
.
com
>
*
emit
-
rtl
.
c
(
active_insn_p
)
:
Revert
last
change
.
2002
-
09
-
27
Jakub
Jelinek
<
jakub
@redhat
.
com
>
2002
-
09
-
27
Jakub
Jelinek
<
jakub
@redhat
.
com
>
*
doc
/
extend
.
texi
(
tls_model
)
:
Document
.
*
doc
/
extend
.
texi
(
tls_model
)
:
Document
.
...
...
gcc/emit-rtl.c
View file @
23b8ba81
...
@@ -3021,34 +3021,11 @@ int
...
@@ -3021,34 +3021,11 @@ int
active_insn_p
(
insn
)
active_insn_p
(
insn
)
rtx
insn
;
rtx
insn
;
{
{
if
(
GET_CODE
(
insn
)
==
CALL_INSN
||
GET_CODE
(
insn
)
==
JUMP_INSN
)
return
(
GET_CODE
(
insn
)
==
CALL_INSN
||
GET_CODE
(
insn
)
==
JUMP_INSN
return
true
;
||
(
GET_CODE
(
insn
)
==
INSN
if
(
GET_CODE
(
insn
)
==
INSN
)
&&
(
!
reload_completed
{
||
(
GET_CODE
(
PATTERN
(
insn
))
!=
USE
if
(
reload_completed
)
&&
GET_CODE
(
PATTERN
(
insn
))
!=
CLOBBER
))));
{
rtx
pat
=
PATTERN
(
insn
);
/* After reload, remaining USE insns are noops. */
if
(
GET_CODE
(
pat
)
==
USE
)
return
false
;
if
(
GET_CODE
(
pat
)
==
CLOBBER
)
{
/* ??? Don't skip past the clobber of the return register.
If we eliminate it, we risk a variety of life analysis
problems on broken code. */
if
(
GET_CODE
(
XEXP
(
pat
,
0
))
==
REG
&&
REG_FUNCTION_VALUE_P
(
XEXP
(
pat
,
0
)))
return
true
;
/* Otherwise, clobbers don't do anything either. */
return
false
;
}
}
return
true
;
}
return
false
;
}
}
rtx
rtx
...
...
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