This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patches committed: merge recent changes to gofrontend
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Ian Taylor <iant at golang dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Thu, 11 May 2017 08:35:13 +0200
- Subject: Re: Go patches committed: merge recent changes to gofrontend
- Authentication-results: sourceware.org; auth=none
Hello!
> I have committed a large patch to update the Go frontend and libgo to
> the recent changes in the gofrontend repository. I had postponed
> merging changes during the GCC 7 release process. I am now merging
> all the changes that were pending during that period. Although this
> is a merged patch, the changes can be seen individually in the
> gofrontend repo (https://go.googlesource.com/gofrontend). They are
> also listed below.
Fails to build on !USING_SPLIT_STACK targets with:
/space/homedirs/uros/gcc-svn/trunk/libgo/runtime/proc.c: In function
‘runtime_malg’:
/space/homedirs/uros/gcc-svn/trunk/libgo/runtime/proc.c:729:43: error:
implicit declaration of function ‘mstats’; did you mean ‘mstart1’?
[-Werror=implicit-function-declaration]
void *p = runtime_sysAlloc(stacksize, &mstats()->other_sys);
^~~~~~
mstart1
/space/homedirs/uros/gcc-svn/trunk/libgo/runtime/proc.c:729:51: error:
invalid type argument of ‘->’ (have ‘int’)
void *p = runtime_sysAlloc(stacksize, &mstats()->other_sys);
^~
mstats function doesn't exist anymore.
Uros.