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
23d5d23d
Commit
23d5d23d
authored
Aug 13, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_inline_function): Copy args that are in hard regs instead of
substiting them directly into insns. From-SVN: r5154
parent
842fbaaa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
gcc/integrate.c
+7
-2
No files found.
gcc/integrate.c
View file @
23d5d23d
...
...
@@ -1390,11 +1390,16 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
constant equivalence.
If LOC is REG_USERVAR_P, the usual case, COPY must also have
that flag set if it is a register. */
that flag set if it is a register.
Also, don't allow hard registers here; they might not be valid
when substituted into insns. */
if
((
GET_CODE
(
copy
)
!=
REG
&&
GET_CODE
(
copy
)
!=
SUBREG
)
||
(
GET_CODE
(
copy
)
==
REG
&&
REG_USERVAR_P
(
loc
)
&&
!
REG_USERVAR_P
(
copy
)))
&&
!
REG_USERVAR_P
(
copy
))
||
(
GET_CODE
(
copy
)
==
REG
&&
REGNO
(
copy
)
<
FIRST_PSEUDO_REGISTER
))
{
temp
=
copy_to_mode_reg
(
GET_MODE
(
loc
),
copy
);
REG_USERVAR_P
(
temp
)
=
REG_USERVAR_P
(
loc
);
...
...
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