diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-09-18 20:43:13 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-09-18 20:43:13 +0000 |
commit | 5ae6cd0d1b33941dc142292062ff565cd99e4504 (patch) | |
tree | dc06eda173c4ba3b692dac9d2c7c0e70f0eeba75 /gcc/integrate.c | |
parent | bdf1f1c16d069eb1b1509cbef8fa1316d4349ba7 (diff) | |
download | gcc-5ae6cd0d1b33941dc142292062ff565cd99e4504.tar.gz |
re PR target/11184 ([ia64 hpux] ICE on __builtin_apply building libobjc)
PR target/11184
* builtins.c (expand_builtin_apply): Use convert_memory_address
before returning the value.
* alias.c (find_base_value): Simplify use of
convert_memory_address.
(find_base_term): Likewise.
* builtins.c (expand_builtin_stejmp_setup): Likewise.
(expand_builtin_longjmp): Likewise.
(expand_builtin_prefetch): Likewise.
(get_memory_rtx): Likewise.
(expand_builtin_return): Likewise.
(expand_builtin_memcpy): Likewise.
(expand_builtin_strncpy): Likewise.
(expand_builtin_memset): Likewise.
(expand_builtin_va_arg): Likewise.
(expand_builtin_va_copy): Likewise.
(expand_builtin_alloca): Likewise.
* calls.c (expand_call): Likewise.
* except.c (expand_builtin_extract_return_addr): Likewise.
(expand_builtin_eh_return): Likewise.
* explow.c (convert_memory_address): Define even when
POINTER_EXTEND_UNSIGNED is not defined. Do nothing if the address
is already in the right mode.
* explow.c (memory_address): Simplify use of convert_memory_address.
(probe_stack_range): Likewise.
* expmed.c (make_tree): Likewise.
* expr.c (emit_block_move_in_libcall): Likewise.
(expand_assignment): Likewise.
(expand_expr): Likewise.
* function.c (assign_parms): Likewise.
(expand_function_end): Likewise.
* integrate.c (copy_rtx_and_substitute): Likewise.
* stmt.c (expand_computed_goto): Likewise.
PR target/11184
* gcc.dg/builtin-apply1.c: New test.
From-SVN: r71539
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r-- | gcc/integrate.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index f0abe89f3e2..21a738ea237 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -2157,11 +2157,7 @@ copy_rtx_and_substitute (rtx orig, struct inline_remap *map, int for_lhs) #endif temp = XEXP (temp, 0); - -#ifdef POINTERS_EXTEND_UNSIGNED - if (GET_MODE (temp) != GET_MODE (orig)) - temp = convert_memory_address (GET_MODE (orig), temp); -#endif + temp = convert_memory_address (GET_MODE (orig), temp); return temp; } else if (GET_CODE (constant) == LABEL_REF) |