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
e70d22c8
Commit
e70d22c8
authored
Apr 24, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_expr, case SAVE_EXPR): Fix error in last change.
From-SVN: r7141
parent
0aaf4a58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/expr.c
+3
-2
No files found.
gcc/expr.c
View file @
e70d22c8
...
...
@@ -3952,8 +3952,9 @@ expand_expr (exp, target, tmode, modifier)
if
(
GET_CODE
(
SAVE_EXPR_RTL
(
exp
))
==
REG
&&
GET_MODE
(
SAVE_EXPR_RTL
(
exp
))
!=
mode
)
{
temp
=
gen_rtx
(
SUBREG
,
promote_mode
(
type
,
mode
,
&
unsignedp
,
0
),
SAVE_EXPR_RTL
(
exp
),
0
);
/* Compute the signedness and make the proper SUBREG. */
promote_mode
(
type
,
mode
,
&
unsignedp
,
0
);
temp
=
gen_rtx
(
SUBREG
,
mode
,
SAVE_EXPR_RTL
(
exp
),
0
);
SUBREG_PROMOTED_VAR_P
(
temp
)
=
1
;
SUBREG_PROMOTED_UNSIGNED_P
(
temp
)
=
unsignedp
;
return
temp
;
...
...
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