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
67038661
Commit
67038661
authored
Oct 26, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_call): Don't trust the callee to copy a TREE_ADDRESSABLE type.
From-SVN: r10526
parent
439eb776
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
gcc/calls.c
+2
-1
No files found.
gcc/calls.c
View file @
67038661
...
@@ -1043,7 +1043,8 @@ expand_call (exp, target, ignore)
...
@@ -1043,7 +1043,8 @@ expand_call (exp, target, ignore)
/* If it's in a register, we must make a copy of it too. */
/* If it's in a register, we must make a copy of it too. */
/* ??? Is this a sufficient test? Is there a better one? */
/* ??? Is this a sufficient test? Is there a better one? */
&&
!
(
TREE_CODE
(
args
[
i
].
tree_value
)
==
VAR_DECL
&&
!
(
TREE_CODE
(
args
[
i
].
tree_value
)
==
VAR_DECL
&&
REG_P
(
DECL_RTL
(
args
[
i
].
tree_value
))))
&&
REG_P
(
DECL_RTL
(
args
[
i
].
tree_value
)))
&&
!
TREE_ADDRESSABLE
(
type
))
{
{
args
[
i
].
tree_value
=
build1
(
ADDR_EXPR
,
args
[
i
].
tree_value
=
build1
(
ADDR_EXPR
,
build_pointer_type
(
type
),
build_pointer_type
(
type
),
...
...
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