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
22745c7e
Commit
22745c7e
authored
Apr 03, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_push_insn): Clobber register only if it is non-zero.
From-SVN: r11658
parent
d7083c81
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/expr.c
+1
-1
No files found.
gcc/expr.c
View file @
22745c7e
...
@@ -2353,7 +2353,7 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
...
@@ -2353,7 +2353,7 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
/* If we're placing part of X into a register and part of X onto
/* If we're placing part of X into a register and part of X onto
the stack, indicate that the entire register is clobbered to
the stack, indicate that the entire register is clobbered to
keep flow from thinking the unused part of the register is live. */
keep flow from thinking the unused part of the register is live. */
if
(
partial
)
if
(
partial
>
0
&&
reg
!=
0
)
emit_insn
(
gen_rtx
(
CLOBBER
,
VOIDmode
,
reg
));
emit_insn
(
gen_rtx
(
CLOBBER
,
VOIDmode
,
reg
));
/* Invert direction if stack is post-update. */
/* Invert direction if stack is post-update. */
...
...
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