Diego Novillo <[EMAIL PROTECTED]> wrote: > So, for folks with free cycles to spare, could you build the branch on > your favourite target and report bugs? Bugzilla and/or email reports > are OK. If you are creating a bugzilla report, please add my address to > the CC field.
With the attached patch, SH cross can be built for gimple-tuples-branch. The testresult for sh4-unknown-linux-gnu cross x86-linux is: http://gcc.gnu.org/ml/gcc-testresults/2008-05/msg00801.html Regards, kaz -- * config/sh/sh.c (sh_gimplify_va_arg_expr): Change pre_p and post_p types to gimple_seq *. diff -uprN ORIG/gimple-tuples-branch/gcc/config/sh/sh.c LOCAL/gimple-tuples-branch/gcc/config/sh/sh.c --- ORIG/gimple-tuples-branch/gcc/config/sh/sh.c 2008-05-09 17:39:13.000000000 +0900 +++ LOCAL/gimple-tuples-branch/gcc/config/sh/sh.c 2008-05-09 18:12:37.000000000 +0900 @@ -261,7 +261,7 @@ static bool sh_strict_argument_naming (C static bool sh_pretend_outgoing_varargs_named (CUMULATIVE_ARGS *); static tree sh_build_builtin_va_list (void); static void sh_va_start (tree, rtx); -static tree sh_gimplify_va_arg_expr (tree, tree, tree *, tree *); +static tree sh_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *); static bool sh_pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode, const_tree, bool); static bool sh_callee_copies (CUMULATIVE_ARGS *, enum machine_mode, @@ -7255,8 +7255,8 @@ find_sole_member (tree type) /* Implement `va_arg'. */ static tree -sh_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p, - tree *post_p ATTRIBUTE_UNUSED) +sh_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p, + gimple_seq *post_p ATTRIBUTE_UNUSED) { HOST_WIDE_INT size, rsize; tree tmp, pptr_type_node;