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
6e7348c1
Commit
6e7348c1
authored
Feb 02, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r270
parent
a6113470
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
gcc/reorg.c
+10
-2
No files found.
gcc/reorg.c
View file @
6e7348c1
...
@@ -273,6 +273,7 @@ mark_referenced_resources (x, res, include_called_routine)
...
@@ -273,6 +273,7 @@ mark_referenced_resources (x, res, include_called_routine)
res
->
cc
=
1
;
res
->
cc
=
1
;
return
;
return
;
case
UNSPEC_VOLATILE
:
case
ASM_INPUT
:
case
ASM_INPUT
:
/* Traditional asm's are always volatile. */
/* Traditional asm's are always volatile. */
res
->
volatil
=
1
;
res
->
volatil
=
1
;
...
@@ -2069,9 +2070,16 @@ mark_target_live_regs (target, res)
...
@@ -2069,9 +2070,16 @@ mark_target_live_regs (target, res)
sp, ap, and fp. Do this before setting the result of the
sp, ap, and fp. Do this before setting the result of the
call live. */
call live. */
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
if
(
call_used_regs
[
i
]
&&
!
fixed_regs
[
i
]
if
(
call_used_regs
[
i
]
&&
i
!=
STACK_POINTER_REGNUM
&&
i
!=
FRAME_POINTER_REGNUM
&&
i
!=
STACK_POINTER_REGNUM
&&
i
!=
FRAME_POINTER_REGNUM
&&
i
!=
ARG_POINTER_REGNUM
)
&&
i
!=
ARG_POINTER_REGNUM
#if ARG_POINTER_REGNUM != FRAME_POINTER_REGNUM
&&
!
(
i
==
ARG_POINTER_REGNUM
&&
fixed_regs
[
i
])
#endif
#ifdef PIC_OFFSET_TABLE_REGNUM
&&
!
(
i
==
PIC_OFFSET_TABLE_REGNUM
&&
flag_pic
)
#endif
)
CLEAR_HARD_REG_BIT
(
current_live_regs
,
i
);
CLEAR_HARD_REG_BIT
(
current_live_regs
,
i
);
}
}
...
...
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