mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 03:14:08 +08:00
* expr.c (expand_assignment): Improve test for pointer type.
From-SVN: r26634
This commit is contained in:
parent
e03ec28f6e
commit
ab40f61225
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* alpha.c (print_operand_address): Account for the subreg word.
|
||||
|
@ -3395,8 +3395,8 @@ expand_assignment (to, from, want_value, suggest_reg)
|
||||
else
|
||||
{
|
||||
#ifdef POINTERS_EXTEND_UNSIGNED
|
||||
if (TREE_CODE (to) == REFERENCE_TYPE
|
||||
|| TREE_CODE (to) == POINTER_TYPE)
|
||||
if (TREE_CODE (TREE_TYPE (to)) == REFERENCE_TYPE
|
||||
|| TREE_CODE (TREE_TYPE (to)) == POINTER_TYPE)
|
||||
value = convert_memory_address (GET_MODE (to_rtx), value);
|
||||
#endif
|
||||
emit_move_insn (to_rtx, value);
|
||||
|
Loading…
Reference in New Issue
Block a user