calls.c (emit_library_call_value_1): Memory slot for pass-by-reference argument should have the mode of the argument...
* calls.c (emit_library_call_value_1): Memory slot for pass-by-reference argument should have the mode of the argument, not of the pointer to it. From-SVN: r39242
This commit is contained in:
parent
597dba19e8
commit
4cfc604201
@ -1,3 +1,9 @@
|
|||||||
|
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* calls.c (emit_library_call_value_1): Memory slot for
|
||||||
|
pass-by-reference argument should have the mode of the argument,
|
||||||
|
not of the pointer to it.
|
||||||
|
|
||||||
2001-01-24 Tom Tromey <tromey@redhat.com>
|
2001-01-24 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* gcc.texi (G++ and GCC): Mention gcj manual.
|
* gcc.texi (G++ and GCC): Mention gcj manual.
|
||||||
|
@ -3695,7 +3695,7 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p)
|
|||||||
{
|
{
|
||||||
tree type = type_for_mode (mode, 0);
|
tree type = type_for_mode (mode, 0);
|
||||||
|
|
||||||
slot = gen_rtx_MEM (Pmode,
|
slot = gen_rtx_MEM (mode,
|
||||||
expand_expr (build1 (ADDR_EXPR,
|
expand_expr (build1 (ADDR_EXPR,
|
||||||
build_pointer_type
|
build_pointer_type
|
||||||
(type),
|
(type),
|
||||||
|
Loading…
Reference in New Issue
Block a user