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
30caed6d
Commit
30caed6d
authored
Jun 05, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_inline_function): Always copy a SUBREG as an
argument into a REG. From-SVN: r4638
parent
bd103b48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
gcc/integrate.c
+5
-1
No files found.
gcc/integrate.c
View file @
30caed6d
...
@@ -1269,7 +1269,11 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
...
@@ -1269,7 +1269,11 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
&&
(
GET_CODE
(
arg_vals
[
i
])
==
REG
&&
(
GET_CODE
(
arg_vals
[
i
])
==
REG
||
GET_CODE
(
arg_vals
[
i
])
==
SUBREG
||
GET_CODE
(
arg_vals
[
i
])
==
SUBREG
||
GET_CODE
(
arg_vals
[
i
])
==
MEM
)
||
GET_CODE
(
arg_vals
[
i
])
==
MEM
)
&&
reg_overlap_mentioned_p
(
arg_vals
[
i
],
target
))))
&&
reg_overlap_mentioned_p
(
arg_vals
[
i
],
target
))
/* ??? We must always copy a SUBREG into a REG, because it might
get substituted into an address, and not all ports correctly
handle SUBREGs in addresses. */
||
(
GET_CODE
(
arg_vals
[
i
])
==
SUBREG
)))
arg_vals
[
i
]
=
copy_to_mode_reg
(
GET_MODE
(
loc
),
arg_vals
[
i
]);
arg_vals
[
i
]
=
copy_to_mode_reg
(
GET_MODE
(
loc
),
arg_vals
[
i
]);
}
}
...
...
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