On Thu, Jan 12, 2012 at 2:35 AM, Ian Lance Taylor <i...@google.com> wrote:
> I noticed that the function decls for builtin functions were all being
> marked as varargs.  This perplexing problem turned out to be due to
> void_list_node not being initialized when the builtin functions were
> declared.  Why the frontend needs to initialize void_list_node is beyond
> me, but I'm not going to change that today.  This patch fixes the
> problem.  Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
> Committed to mainline.

A nice cleanup would be to move void_list_node initialization from frontends
to build_common_tree_nodes ().

Richard.

> Ian
>
>
> 2012-01-11  Ian Lance Taylor  <i...@google.com>
>
>        * go-lang.c (go_langhook_init): Initialize void_list_node before
>        calling go_create_gogo.
>
>

Reply via email to