[PATCH] remove TYPE_ARG_TYPES from godump.c

2011-05-20 Thread Nathan Froyd
As $SUBJECT suggests. It may be worth noting that we now do more work after this patch (stdarg_p and prototype_p both traverse TYPE_ARG_TYPES under the hood); one day those will be simple boolean tests. Tested on x86_64-unknown-linux-gnu with go. OK to commit? -Nathan gcc/ * godump.c

Re: [PATCH] remove TYPE_ARG_TYPES from godump.c

2011-05-20 Thread Ian Lance Taylor
Nathan Froyd froy...@codesourcery.com writes: gcc/ * godump.c (go_format_type): Don't use TYPE_ARG_TYPES. case FUNCTION_TYPE: { - tree args; + tree arg_type; bool is_varargs; tree result; + function_args_iterator iter; + bool seen_arg =