Commit 4cfc6042 by Alexandre Oliva Committed by Alexandre Oliva

calls.c (emit_library_call_value_1): Memory slot for pass-by-reference argument…

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
parent 597dba19
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>
* 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);
slot = gen_rtx_MEM (Pmode,
slot = gen_rtx_MEM (mode,
expand_expr (build1 (ADDR_EXPR,
build_pointer_type
(type),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment