v850.c (v850_va_arg): Use addr instead of valist to build incr.

* config/v850/v850.c (v850_va_arg):  Use addr
        instead of valist to build incr.

From-SVN: r44366
This commit is contained in:
Catherine Moore 2001-07-25 21:49:46 +00:00 committed by Catherine Moore
parent 6e64a52a92
commit f2d28b14f3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-07-25 Catherine Moore <clm@redhat.com>
* config/v850/v850.c (v850_va_arg): Use addr
instead of valist to build incr.
Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
* flow.c (delete_dead_jumptables): New function.

View File

@ -2778,7 +2778,7 @@ v850_va_arg (valist, type)
}
addr = save_expr (valist);
incr = fold (build (PLUS_EXPR, ptr_type_node, valist,
incr = fold (build (PLUS_EXPR, ptr_type_node, addr,
build_int_2 (rsize, 0)));
incr = build (MODIFY_EXPR, ptr_type_node, valist, incr);