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
2bb16349
Commit
2bb16349
authored
Jul 22, 2004
by
Richard Henderson
Committed by
Richard Henderson
Jul 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (emit_push_insn): Don't use set_mem_attributes.
From-SVN: r85054
parent
312bc278
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
19 deletions
+18
-19
gcc/ChangeLog
+4
-0
gcc/expr.c
+14
-19
No files found.
gcc/ChangeLog
View file @
2bb16349
2004-07-22 Richard Henderson <rth@redhat.com>
* expr.c (emit_push_insn): Don't use set_mem_attributes.
2004-07-22 Richard Henderson <rth@redhat.com>
* tree-ssa-live.c (create_ssa_var_map): Avoid defined-but-not-used
variables due to conditional compilation.
...
...
gcc/expr.c
View file @
2bb16349
...
...
@@ -3250,16 +3250,11 @@ emit_push_insn (rtx x, enum machine_mode mode, tree type, rtx size,
target
=
gen_rtx_MEM
(
BLKmode
,
temp
);
if
(
type
!=
0
)
{
set_mem_attributes
(
target
,
type
,
1
);
/* Function incoming arguments may overlap with sibling call
outgoing arguments and we cannot allow reordering of reads
from function arguments with stores to outgoing arguments
of sibling calls. */
set_mem_alias_set
(
target
,
0
);
}
/* We do *not* set_mem_attributes here, because incoming arguments
may overlap with sibling call outgoing arguments and we cannot
allow reordering of reads from function arguments with stores
to outgoing arguments of sibling calls. We do, however, want
to record the alignment of the stack slot. */
/* ALIGN may well be better aligned than TYPE, e.g. due to
PARM_BOUNDARY. Assume the caller isn't lying. */
set_mem_align
(
target
,
align
);
...
...
@@ -3355,15 +3350,15 @@ emit_push_insn (rtx x, enum machine_mode mode, tree type, rtx size,
addr
=
memory_address
(
mode
,
gen_rtx_PLUS
(
Pmode
,
args_addr
,
args_so_far
));
dest
=
gen_rtx_MEM
(
mode
,
addr
);
if
(
type
!=
0
)
{
set_mem_attributes
(
dest
,
type
,
1
);
/* Function incoming arguments may overlap with sibling call
outgoing arguments and we cannot allow reordering of reads
from function arguments with stores to outgoing arguments
of sibling calls. */
set_mem_alias_set
(
dest
,
0
);
}
/* We do *not* set_mem_attributes here, because incoming arguments
may overlap with sibling call outgoing arguments and we cannot
allow reordering of reads from function arguments with stores
to outgoing arguments of sibling calls. We do, however, want
to record the alignment of the stack slot. */
/* ALIGN may well be better aligned than TYPE, e.g. due to
PARM_BOUNDARY. Assume the caller isn't lying. */
set_mem_align
(
dest
,
align
);
emit_move_insn
(
dest
,
x
);
}
...
...
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