Commit e231737a by Bob Wilson Committed by Bob Wilson

xtensa.c (xtensa_gimplify_va_arg_expr): Swap arguments for COND_EXPR in big-endian adjustment code.

	* config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Swap
	arguments for COND_EXPR in big-endian adjustment code.

From-SVN: r84655
parent 747e2d0e
2004-07-13 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Swap
arguments for COND_EXPR in big-endian adjustment code.
2004-07-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2004-07-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa-64.h (ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Delete. * pa-64.h (ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Delete.
......
...@@ -2623,7 +2623,7 @@ xtensa_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p, ...@@ -2623,7 +2623,7 @@ xtensa_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p,
{ {
t = size_int (PARM_BOUNDARY / BITS_PER_UNIT); t = size_int (PARM_BOUNDARY / BITS_PER_UNIT);
t = fold (build (GE_EXPR, boolean_type_node, type_size, t)); t = fold (build (GE_EXPR, boolean_type_node, type_size, t));
t = fold (build (COND_EXPR, sizetype, t, type_size, va_size)); t = fold (build (COND_EXPR, sizetype, t, va_size, type_size));
size = t; size = t;
} }
else else
......
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