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
dc42616f
Commit
dc42616f
authored
Jul 18, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jul 18, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c: Undo my previous patch.
From-SVN: r44126
parent
e5c83273
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
23 deletions
+5
-23
gcc/ChangeLog
+4
-0
gcc/cse.c
+1
-23
No files found.
gcc/ChangeLog
View file @
dc42616f
Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
* cse.c: Undo my previous patch.
2001-07-18 Tom Tromey <tromey@redhat.com>
For PR java/2812:
...
...
gcc/cse.c
View file @
dc42616f
...
...
@@ -7488,7 +7488,7 @@ count_reg_usage (x, counts, dest, incr)
static
bool
set_live_p
(
set
,
insn
,
counts
)
rtx
set
;
rtx
insn
ATTRIBUTE_UNUSED
;
rtx
insn
;
int
*
counts
;
{
#ifdef HAVE_cc0
...
...
@@ -7630,20 +7630,9 @@ delete_trivially_dead_insns (insns, nreg, preserve_basic_blocks)
if
(
find_reg_note
(
insn
,
REG_RETVAL
,
NULL_RTX
))
{
in_libcall
=
1
;
/* If the insn storing return value is dead, whole libcall is dead.
Otherwise attempt to eliminate libcall by doing an direct
operation. */
if
(
!
insn_live_p
(
insn
,
counts
))
{
live_insn
=
0
;
dead_libcall
=
1
;
}
else
{
live_insn
=
1
;
dead_libcall
=
dead_libcall_p
(
insn
);
}
}
else
if
(
in_libcall
)
live_insn
=
!
dead_libcall
;
else
...
...
@@ -7682,20 +7671,9 @@ delete_trivially_dead_insns (insns, nreg, preserve_basic_blocks)
if
(
find_reg_note
(
insn
,
REG_RETVAL
,
NULL_RTX
))
{
in_libcall
=
1
;
/* If the insn storing return value is dead, whole libcall is dead.
Otherwise attempt to eliminate libcall by doing an direct
operation. */
if
(
!
insn_live_p
(
insn
,
counts
))
{
live_insn
=
0
;
dead_libcall
=
1
;
}
else
{
live_insn
=
1
;
dead_libcall
=
dead_libcall_p
(
insn
);
}
}
else
if
(
in_libcall
)
live_insn
=
!
dead_libcall
;
else
...
...
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