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
119af78a
Commit
119af78a
authored
Jun 02, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_expr, case ADDR_EXPR): If result is ignored, just return
const0_rtx. From-SVN: r7421
parent
94b25f81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/expr.c
+6
-0
No files found.
gcc/expr.c
View file @
119af78a
...
@@ -5863,6 +5863,12 @@ expand_expr (exp, target, tmode, modifier)
...
@@ -5863,6 +5863,12 @@ expand_expr (exp, target, tmode, modifier)
(
modifier
==
EXPAND_INITIALIZER
(
modifier
==
EXPAND_INITIALIZER
?
modifier
:
EXPAND_CONST_ADDRESS
));
?
modifier
:
EXPAND_CONST_ADDRESS
));
/* If we are going to ignore the result, OP0 will have been set
to const0_rtx, so just return it. Don't get confused and
think we are taking the address of the constant. */
if
(
ignore
)
return
op0
;
/* We would like the object in memory. If it is a constant,
/* We would like the object in memory. If it is a constant,
we can have it be statically allocated into memory. For
we can have it be statically allocated into memory. For
a non-constant (REG, SUBREG or CONCAT), we need to allocate some
a non-constant (REG, SUBREG or CONCAT), we need to allocate some
...
...
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