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
3ac1a319
Commit
3ac1a319
authored
22 years ago
by
Steve Ellcey
Committed by
Steve Ellcey
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (expand_expr): Call promote_mode to set unsignedp.
From-SVN: r63796
parent
23cae84f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/expr.c
+2
-2
No files found.
gcc/ChangeLog
View file @
3ac1a319
2003
-
03
-
04
Steve
Ellcey
<
sje
@cup
.
hp
.
com
>
*
expr
.
c
(
expand_expr
)
:
Call
promote_mode
to
set
unsignedp
.
2003
-
03
-
04
Daniel
Jacobowitz
<
drow
@mvista
.
com
>
*
configure
.
in
:
Don
'
t
always
define
TARGET_SYSTEM_ROOT
.
...
...
This diff is collapsed.
Click to expand it.
gcc/expr.c
View file @
3ac1a319
...
...
@@ -6883,12 +6883,12 @@ expand_expr (exp, target, tmode, modifier)
/* If the mode of TEMP does not match that of the expression, it
must be a promoted value. We pass store_expr a SUBREG of the
wanted mode but mark it so that we know that it was already
extended. Note that `unsignedp' was modified above in
this case. */
extended. */
if
(
GET_CODE
(
temp
)
==
REG
&&
GET_MODE
(
temp
)
!=
mode
)
{
temp
=
gen_lowpart_SUBREG
(
mode
,
SAVE_EXPR_RTL
(
exp
));
promote_mode
(
type
,
mode
,
&
unsignedp
,
0
);
SUBREG_PROMOTED_VAR_P
(
temp
)
=
1
;
SUBREG_PROMOTED_UNSIGNED_SET
(
temp
,
unsignedp
);
}
...
...
This diff is collapsed.
Click to expand it.
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