[PATCH] use build_function_type less in c-family and LTO

2011-05-10 Thread Nathan Froyd
As $SUBJECT suggests. Eradicating build_function_type from the C FE entirely will take a bit more work. The lto change is included because def_fn_type there is clearly a copy of the C version; I am going to assume that given other approvals of copy-paste code, this one is obvious. Tested on

Re: [PATCH] use build_function_type less in c-family and LTO

2011-05-10 Thread Diego Novillo
On Tue, May 10, 2011 at 10:14, Nathan Froyd froy...@codesourcery.com wrote: gcc/c-family/        * c-common.c (def_fn_type): Don't call build_function_type, call        build_function_type_vec or build_varargs_function_type_vec instead.        (c_common_nodes_and_builtins): Likewise.

Re: [PATCH] use build_function_type less in c-family and LTO

2011-05-10 Thread Joseph S. Myers
On Tue, 10 May 2011, Nathan Froyd wrote: gcc/c-family/ * c-common.c (def_fn_type): Don't call build_function_type, call build_function_type_vec or build_varargs_function_type_vec instead. (c_common_nodes_and_builtins): Likewise. The c-family changes are OK. -- Joseph S.