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
db25e492
Commit
db25e492
authored
May 28, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_inline_function): When copy REG_NOTES, must
also call subst_constants. From-SVN: r4587
parent
239db5fc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
gcc/integrate.c
+10
-3
No files found.
gcc/integrate.c
View file @
db25e492
...
...
@@ -1711,9 +1711,16 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
/* Now copy the REG_NOTES. */
for
(
insn
=
insns
;
insn
;
insn
=
NEXT_INSN
(
insn
))
if
(
GET_RTX_CLASS
(
GET_CODE
(
insn
))
==
'i'
&&
map
->
insn_map
[
INSN_UID
(
insn
)])
REG_NOTES
(
map
->
insn_map
[
INSN_UID
(
insn
)])
=
copy_rtx_and_substitute
(
REG_NOTES
(
insn
),
map
);
&&
map
->
insn_map
[
INSN_UID
(
insn
)]
&&
REG_NOTES
(
insn
))
{
rtx
tem
=
copy_rtx_and_substitute
(
REG_NOTES
(
insn
),
map
);
/* We must also do subst_constants, in case one of our parameters
has const type and constant value. */
subst_constants
(
&
tem
,
NULL_RTX
,
map
);
apply_change_group
();
REG_NOTES
(
map
->
insn_map
[
INSN_UID
(
insn
)])
=
tem
;
}
if
(
local_return_label
)
emit_label
(
local_return_label
);
...
...
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