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
ab40f612
Commit
ab40f612
authored
Apr 26, 1999
by
Donn Terry
Committed by
Jeff Law
Apr 25, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (expand_assignment): Improve test for pointer type.
From-SVN: r26634
parent
e03ec28f
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 @
ab40f612
Mon
Apr
26
01
:
30
:
59
1999
Donn
Terry
<
donn
@interix
.
com
>
*
expr
.
c
(
expand_assignment
)
:
Improve
test
for
pointer
type
.
Mon
Apr
26
00
:
26
:
18
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
Mon
Apr
26
00
:
26
:
18
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
alpha
.
c
(
print_operand_address
)
:
Account
for
the
subreg
word
.
*
alpha
.
c
(
print_operand_address
)
:
Account
for
the
subreg
word
.
...
...
gcc/expr.c
View file @
ab40f612
...
@@ -3395,8 +3395,8 @@ expand_assignment (to, from, want_value, suggest_reg)
...
@@ -3395,8 +3395,8 @@ expand_assignment (to, from, want_value, suggest_reg)
else
else
{
{
#ifdef POINTERS_EXTEND_UNSIGNED
#ifdef POINTERS_EXTEND_UNSIGNED
if
(
TREE_CODE
(
to
)
==
REFERENCE_TYPE
if
(
TREE_CODE
(
TREE_TYPE
(
to
)
)
==
REFERENCE_TYPE
||
TREE_CODE
(
to
)
==
POINTER_TYPE
)
||
TREE_CODE
(
TREE_TYPE
(
to
)
)
==
POINTER_TYPE
)
value
=
convert_memory_address
(
GET_MODE
(
to_rtx
),
value
);
value
=
convert_memory_address
(
GET_MODE
(
to_rtx
),
value
);
#endif
#endif
emit_move_insn
(
to_rtx
,
value
);
emit_move_insn
(
to_rtx
,
value
);
...
...
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