This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build_function_type_list crashes if there are no arguments


On 10 Feb 2005, Ian Lance Taylor wrote:
> 2005-02-10  Ian Lance Taylor  <ian@airs.com>
>
> 	* tree.c (build_function_type_list): Work correctly if there are
> 	no arguments.
>

This is Ok for mainline.


> Why don't I just call build_function_type?  Because I am walking
> through a table calling build_function_type_list on each entry.

But I'm still a bit confused how you get from a table to calling
a function with a variable number of arguments without knowing
how many arguments you have :)


Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]