diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-07 12:35:49 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-07 12:35:49 -0400 |
commit | 9fcfcce70560913bbcc3d8fcf8e62fc2a73e4e26 (patch) | |
tree | b6d1ca0b9c5d787bc59ded4647f33e202109bd10 /gcc | |
parent | 498b529f119b92d970cfa2ad781611338ee405c1 (diff) | |
download | gcc-9fcfcce70560913bbcc3d8fcf8e62fc2a73e4e26.zip gcc-9fcfcce70560913bbcc3d8fcf8e62fc2a73e4e26.tar.gz gcc-9fcfcce70560913bbcc3d8fcf8e62fc2a73e4e26.tar.bz2 |
(expand_expr, case ADDR_EXPR): Always call convert_memory_address when
converting; add extra arg.
From-SVN: r9329
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6265,8 +6265,7 @@ expand_expr (exp, target, tmode, modifier) #ifdef POINTERS_EXTEND_UNSIGNED if (GET_MODE (temp) == Pmode && GET_MODE (temp) != mode && mode == ptr_mode) - temp = convert_modes (ptr_mode, Pmode, temp, - POINTERS_EXTEND_UNSIGNED); + temp = convert_memory_address (ptr_mode, temp); #endif return temp; } @@ -6288,7 +6287,7 @@ expand_expr (exp, target, tmode, modifier) #ifdef POINTERS_EXTEND_UNSIGNED if (GET_MODE (op0) == Pmode && GET_MODE (op0) != mode && mode == ptr_mode) - op0 = convert_modes (ptr_mode, Pmode, op0, POINTERS_EXTEND_UNSIGNED); + op0 = convert_memory_address (ptr_mode, op0); #endif return op0; |