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
ec01976b
Commit
ec01976b
authored
Jul 23, 2014
by
Jiong Wang
Committed by
Marcus Shawcroft
Jul 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AArch64] Remove useless local variable.
From-SVN: r212946
parent
b8a404dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+6
-0
gcc/config/aarch64/aarch64.c
+1
-2
No files found.
gcc/ChangeLog
View file @
ec01976b
2014
-
07
-
23
Jiong
Wang
<
jiong
.
wang
@
arm
.
com
>
*
config
/
aarch64
/
aarch64
.
c
(
aarch64_save_or_restore_callee_save_registers
):
Rename
'offset'
to
'start_offset'
.
Remove
local
variable
'start_offset'
.
2014
-
07
-
23
Jiong
Wang
<
jiong
.
wang
@
arm
.
com
>
*
config
/
aarch64
/
aarch64
.
c
(
aarch64_save_or_restore_fprs
):
Change
type
to
HOST_WIDE_INT
.
...
...
gcc/config/aarch64/aarch64.c
View file @
ec01976b
...
...
@@ -1997,12 +1997,11 @@ aarch64_save_or_restore_fprs (HOST_WIDE_INT start_offset, int increment,
/* offset from the stack pointer of where the saves and
restore's have to happen. */
static
void
aarch64_save_or_restore_callee_save_registers
(
HOST_WIDE_INT
offset
,
aarch64_save_or_restore_callee_save_registers
(
HOST_WIDE_INT
start_
offset
,
bool
restore
)
{
rtx
insn
;
rtx
base_rtx
=
stack_pointer_rtx
;
HOST_WIDE_INT
start_offset
=
offset
;
HOST_WIDE_INT
increment
=
UNITS_PER_WORD
;
rtx
(
*
gen_mem_ref
)
(
enum
machine_mode
,
rtx
)
=
(
frame_pointer_needed
?
gen_frame_mem
:
gen_rtx_MEM
);
...
...
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