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
bda435be
Commit
bda435be
authored
May 26, 1999
by
Nick Clifton
Committed by
Nick Clifton
May 26, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert previous delta
From-SVN: r27166
parent
293ecd7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
gcc/ChangeLog
+4
-0
gcc/flow.c
+4
-6
No files found.
gcc/ChangeLog
View file @
bda435be
Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
* flow.c: Revert previous delta.
Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
* flow.c (insn_dead_p): Check against frame_pointer_rtx not
* flow.c (insn_dead_p): Check against frame_pointer_rtx not
...
...
gcc/flow.c
View file @
bda435be
...
@@ -2957,7 +2957,7 @@ insn_dead_p (x, needed, call_ok, notes)
...
@@ -2957,7 +2957,7 @@ insn_dead_p (x, needed, call_ok, notes)
/* Don't delete insns to set global regs. */
/* Don't delete insns to set global regs. */
if
((
regno
<
FIRST_PSEUDO_REGISTER
&&
global_regs
[
regno
])
if
((
regno
<
FIRST_PSEUDO_REGISTER
&&
global_regs
[
regno
])
/* Make sure insns to set frame pointer aren't deleted. */
/* Make sure insns to set frame pointer aren't deleted. */
||
r
==
frame_pointer_rtx
||
r
egno
==
FRAME_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
||
regno
==
HARD_FRAME_POINTER_REGNUM
||
regno
==
HARD_FRAME_POINTER_REGNUM
#endif
#endif
...
@@ -3268,8 +3268,7 @@ mark_set_1 (needed, dead, x, insn, significant)
...
@@ -3268,8 +3268,7 @@ mark_set_1 (needed, dead, x, insn, significant)
mem_set_list
=
gen_rtx_EXPR_LIST
(
VOIDmode
,
reg
,
mem_set_list
);
mem_set_list
=
gen_rtx_EXPR_LIST
(
VOIDmode
,
reg
,
mem_set_list
);
if
(
GET_CODE
(
reg
)
==
REG
if
(
GET_CODE
(
reg
)
==
REG
&&
reg
!=
frame_pointer_rtx
&&
(
regno
=
REGNO
(
reg
),
regno
!=
FRAME_POINTER_REGNUM
)
&&
(
regno
=
REGNO
(
reg
),
1
)
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
&&
regno
!=
HARD_FRAME_POINTER_REGNUM
&&
regno
!=
HARD_FRAME_POINTER_REGNUM
#endif
#endif
...
@@ -3734,7 +3733,7 @@ mark_used_regs (needed, live, x, final, insn)
...
@@ -3734,7 +3733,7 @@ mark_used_regs (needed, live, x, final, insn)
#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM
||
(
regno
==
ARG_POINTER_REGNUM
&&
fixed_regs
[
regno
])
||
(
regno
==
ARG_POINTER_REGNUM
&&
fixed_regs
[
regno
])
#endif
#endif
||
(
x
==
frame_pointer_rtx
)
)
||
regno
==
FRAME_POINTER_REGNUM
)
{
{
/* If this is a register we are going to try to eliminate,
/* If this is a register we are going to try to eliminate,
don't mark it live here. If we are successful in
don't mark it live here. If we are successful in
...
@@ -3910,8 +3909,7 @@ mark_used_regs (needed, live, x, final, insn)
...
@@ -3910,8 +3909,7 @@ mark_used_regs (needed, live, x, final, insn)
if
((
GET_CODE
(
testreg
)
==
PARALLEL
if
((
GET_CODE
(
testreg
)
==
PARALLEL
&&
GET_MODE
(
testreg
)
==
BLKmode
)
&&
GET_MODE
(
testreg
)
==
BLKmode
)
||
(
GET_CODE
(
testreg
)
==
REG
||
(
GET_CODE
(
testreg
)
==
REG
&&
testreg
!=
frame_pointer_rtx
&&
(
regno
=
REGNO
(
testreg
),
regno
!=
FRAME_POINTER_REGNUM
)
&&
(
regno
=
REGNO
(
testreg
),
1
)
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
#if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
&&
regno
!=
HARD_FRAME_POINTER_REGNUM
&&
regno
!=
HARD_FRAME_POINTER_REGNUM
#endif
#endif
...
...
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