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
b927dc22
Commit
b927dc22
authored
Jun 15, 2001
by
Richard Kenner
Committed by
Richard Kenner
Jun 15, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* function.c (gen_mem_addressof): Handle case where DECL is SAVE_EXPR.
From-SVN: r43408
parent
f6261a8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+2
-0
gcc/function.c
+4
-1
No files found.
gcc/ChangeLog
View file @
b927dc22
Fri
Jun
15
18
:
05
:
22
2001
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
Fri
Jun
15
18
:
05
:
22
2001
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
function
.
c
(
gen_mem_addressof
)
:
Handle
case
where
DECL
is
SAVE_EXPR
.
*
explow
.
c
(
expr_size
):
If
DECL
and
size
specified
,
use
it
.
*
explow
.
c
(
expr_size
):
If
DECL
and
size
specified
,
use
it
.
2001
-
06
-
15
Zack
Weinberg
<
zackw
@stanford
.
edu
>
2001
-
06
-
15
Zack
Weinberg
<
zackw
@stanford
.
edu
>
...
...
gcc/function.c
View file @
b927dc22
...
@@ -2873,8 +2873,11 @@ gen_mem_addressof (reg, decl)
...
@@ -2873,8 +2873,11 @@ gen_mem_addressof (reg, decl)
if
(
decl
)
if
(
decl
)
{
{
tree
type
=
TREE_TYPE
(
decl
);
tree
type
=
TREE_TYPE
(
decl
);
enum
machine_mode
decl_mode
=
(
TREE_CODE
(
decl
)
==
SAVE_EXPR
?
TYPE_MODE
(
TREE_TYPE
(
decl
))
:
DECL_MODE
(
decl
));
PUT_MODE
(
reg
,
DECL_MODE
(
decl
)
);
PUT_MODE
(
reg
,
decl_mode
);
MEM_VOLATILE_P
(
reg
)
=
TREE_SIDE_EFFECTS
(
decl
);
MEM_VOLATILE_P
(
reg
)
=
TREE_SIDE_EFFECTS
(
decl
);
MEM_SET_IN_STRUCT_P
(
reg
,
AGGREGATE_TYPE_P
(
type
));
MEM_SET_IN_STRUCT_P
(
reg
,
AGGREGATE_TYPE_P
(
type
));
MEM_ALIAS_SET
(
reg
)
=
get_alias_set
(
decl
);
MEM_ALIAS_SET
(
reg
)
=
get_alias_set
(
decl
);
...
...
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