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
3050859f
Commit
3050859f
authored
Nov 15, 2010
by
Joern Rennecke
Committed by
Joern Rennecke
Nov 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/m32r/m32r.c: Remove unused variables frame_size and insn.
From-SVN: r166746
parent
c18a9bc4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
gcc/ChangeLog
+2
-0
gcc/config/m32r/m32r.c
+3
-9
No files found.
gcc/ChangeLog
View file @
3050859f
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
(
TEXI_GCCINT_FILES
)
:
Depend
on
$
(
srcdir
)
/
doc
/
tm
.
texi
instead
of
on
(
TEXI_GCCINT_FILES
)
:
Depend
on
$
(
srcdir
)
/
doc
/
tm
.
texi
instead
of
on
tm
.
texi
.
tm
.
texi
.
*
config
/
m32r
/
m32r
.
c
:
Remove
unused
variables
frame_size
and
insn
.
2010
-
11
-
15
Richard
Guenther
<
rguenther
@suse
.
de
>
2010
-
11
-
15
Richard
Guenther
<
rguenther
@suse
.
de
>
PR
lto
/
44150
PR
lto
/
44150
gcc/config/m32r/m32r.c
View file @
3050859f
...
@@ -1584,7 +1584,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */
...
@@ -1584,7 +1584,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */
{
{
unsigned
int
regno
;
unsigned
int
regno
;
unsigned
int
total_size
,
var_size
,
args_size
,
pretend_size
,
extra_size
;
unsigned
int
total_size
,
var_size
,
args_size
,
pretend_size
,
extra_size
;
unsigned
int
reg_size
,
frame_size
;
unsigned
int
reg_size
;
unsigned
int
gmask
;
unsigned
int
gmask
;
enum
m32r_function_type
fn_type
;
enum
m32r_function_type
fn_type
;
int
interrupt_p
;
int
interrupt_p
;
...
@@ -1626,7 +1626,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */
...
@@ -1626,7 +1626,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */
handler will do the right thing if this changes total_size. */
handler will do the right thing if this changes total_size. */
total_size
=
M32R_STACK_ALIGN
(
total_size
);
total_size
=
M32R_STACK_ALIGN
(
total_size
);
frame_size
=
total_size
-
(
pretend_size
+
reg_size
);
/* frame_size = total_size - (pretend_size + reg_size); */
/* Save computed information. */
/* Save computed information. */
current_frame_info
.
total_size
=
total_size
;
current_frame_info
.
total_size
=
total_size
;
...
@@ -1974,7 +1974,6 @@ m32r_legitimize_pic_address (rtx orig, rtx reg)
...
@@ -1974,7 +1974,6 @@ m32r_legitimize_pic_address (rtx orig, rtx reg)
if
(
GET_CODE
(
orig
)
==
SYMBOL_REF
||
GET_CODE
(
orig
)
==
LABEL_REF
)
if
(
GET_CODE
(
orig
)
==
SYMBOL_REF
||
GET_CODE
(
orig
)
==
LABEL_REF
)
{
{
rtx
pic_ref
,
address
;
rtx
pic_ref
,
address
;
rtx
insn
;
int
subregs
=
0
;
int
subregs
=
0
;
if
(
reg
==
0
)
if
(
reg
==
0
)
...
@@ -2004,12 +2003,7 @@ m32r_legitimize_pic_address (rtx orig, rtx reg)
...
@@ -2004,12 +2003,7 @@ m32r_legitimize_pic_address (rtx orig, rtx reg)
emit_insn
(
gen_addsi3
(
address
,
address
,
pic_offset_table_rtx
));
emit_insn
(
gen_addsi3
(
address
,
address
,
pic_offset_table_rtx
));
pic_ref
=
gen_const_mem
(
Pmode
,
address
);
pic_ref
=
gen_const_mem
(
Pmode
,
address
);
insn
=
emit_move_insn
(
reg
,
pic_ref
);
emit_move_insn
(
reg
,
pic_ref
);
#if 0
/* Put a REG_EQUAL note on this insn, so that it can be optimized
by loop. */
set_unique_reg_note (insn, REG_EQUAL, orig);
#endif
return
reg
;
return
reg
;
}
}
else
if
(
GET_CODE
(
orig
)
==
CONST
)
else
if
(
GET_CODE
(
orig
)
==
CONST
)
...
...
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