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
c14a3a45
Commit
c14a3a45
authored
Jan 22, 2002
by
Nick Clifton
Committed by
Nick Clifton
Jan 22, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace REG_MAYBE_DEAD notes with USEs.
From-SVN: r49079
parent
a0e073b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
gcc/ChangeLog
+6
-0
gcc/config/arm/arm.c
+6
-9
No files found.
gcc/ChangeLog
View file @
c14a3a45
2002-01-22 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
note with a USE.
(thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
2002-01-22 Jason Merrill <jason@redhat.com>
* c-semantics.c (genrtl_compound_stmt): Only check nesting
...
...
gcc/config/arm/arm.c
View file @
c14a3a45
...
...
@@ -8343,11 +8343,9 @@ arm_expand_prologue ()
insn
=
gen_rtx_MEM
(
SImode
,
insn
);
}
insn
=
gen_rtx_SET
(
SImode
,
ip_rtx
,
insn
);
insn
=
emit_insn
(
insn
);
/* Add a reg note to stop propogate_one_insn() from barfing. */
REG_NOTES
(
insn
)
=
gen_rtx_EXPR_LIST
(
REG_MAYBE_DEAD
,
ip_rtx
,
REG_NOTES
(
insn
));
emit_insn
(
gen_rtx_SET
(
SImode
,
ip_rtx
,
insn
));
/* Add a USE to stop propagate_one_insn() from barfing. */
emit_insn
(
gen_rtx_USE
(
VOIDmode
,
ip_rtx
));
}
}
...
...
@@ -10162,10 +10160,9 @@ thumb_expand_prologue ()
reg
=
gen_rtx
(
REG
,
SImode
,
LAST_LO_REGNUM
);
/* Save it by copying it into a high, scratch register. */
insn
=
emit_insn
(
gen_movsi
(
spare
,
reg
));
/* Add a reg note to stop propogate_one_insn() from barfing. */
REG_NOTES
(
insn
)
=
gen_rtx_EXPR_LIST
(
REG_MAYBE_DEAD
,
spare
,
REG_NOTES
(
insn
));
emit_insn
(
gen_movsi
(
spare
,
reg
));
/* Add a USE to stop propagate_one_insn() from barfing. */
emit_insn
(
gen_rtx_USE
(
VOIDmode
,
spare
));
/* Decrement the stack. */
emit_insn
(
gen_movsi
(
reg
,
GEN_INT
(
-
amount
)));
...
...
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