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.

Reply via email to