OSDN Git Service

2005-12-02 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / config / c4x / c4x.c
index 52be551..3757523 100644 (file)
@@ -722,8 +722,8 @@ c4x_gimplify_va_arg_expr (tree valist, tree type,
   if (indirect)
     type = build_pointer_type (type);
 
-  t = build (PREDECREMENT_EXPR, TREE_TYPE (valist), valist,
-            build_int_cst (NULL_TREE, int_size_in_bytes (type)));
+  t = build2 (PREDECREMENT_EXPR, TREE_TYPE (valist), valist,
+             build_int_cst (NULL_TREE, int_size_in_bytes (type)));
   t = fold_convert (build_pointer_type (type), t);
   t = build_va_arg_indirect_ref (t);