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
0c2e838b
Commit
0c2e838b
authored
Jul 17, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(instantiate_decls{,_1}): Don't do instantiation here if the address
is mode-dependent. From-SVN: r1615
parent
0dadecf6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/function.c
+9
-3
No files found.
gcc/function.c
View file @
0c2e838b
...
...
@@ -1902,12 +1902,16 @@ instantiate_decls (fndecl, valid_only)
/* Process all parameters of the function. */
for
(
decl
=
DECL_ARGUMENTS
(
fndecl
);
decl
;
decl
=
TREE_CHAIN
(
decl
))
{
if
(
DECL_RTL
(
decl
)
&&
GET_CODE
(
DECL_RTL
(
decl
))
==
MEM
)
if
(
DECL_RTL
(
decl
)
&&
GET_CODE
(
DECL_RTL
(
decl
))
==
MEM
&&
(
!
valid_only
||
!
mode_dependent_address_p
(
XEXP
(
DECL_RTL
(
decl
),
0
))))
instantiate_virtual_regs_1
(
&
XEXP
(
DECL_RTL
(
decl
),
0
),
(
valid_only
?
DECL_RTL
(
decl
)
:
NULL_RTX
),
0
);
if
(
DECL_INCOMING_RTL
(
decl
)
&&
GET_CODE
(
DECL_INCOMING_RTL
(
decl
))
==
MEM
)
&&
GET_CODE
(
DECL_INCOMING_RTL
(
decl
))
==
MEM
&&
(
!
valid_only
||
!
mode_dependent_address_p
(
XEXP
(
DECL_INCOMING_RTL
(
decl
),
0
))))
instantiate_virtual_regs_1
(
&
XEXP
(
DECL_INCOMING_RTL
(
decl
),
0
),
(
valid_only
?
DECL_INCOMING_RTL
(
decl
)
:
NULL_RTX
),
...
...
@@ -1938,7 +1942,9 @@ instantiate_decls_1 (let, valid_only)
tree
t
;
for
(
t
=
BLOCK_VARS
(
let
);
t
;
t
=
TREE_CHAIN
(
t
))
if
(
DECL_RTL
(
t
)
&&
GET_CODE
(
DECL_RTL
(
t
))
==
MEM
)
if
(
DECL_RTL
(
t
)
&&
GET_CODE
(
DECL_RTL
(
t
))
==
MEM
&&
(
!
valid_only
||
!
mode_dependent_address_p
(
XEXP
(
DECL_RTL
(
t
),
0
))))
instantiate_virtual_regs_1
(
&
XEXP
(
DECL_RTL
(
t
),
0
),
valid_only
?
DECL_RTL
(
t
)
:
NULL_RTX
,
0
);
...
...
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