On Sat, 27 Apr 2019 at 15:30, Kamil Rytarowski <n...@gmx.com> wrote: > > On 27.04.2019 11:20, Iain Buclaw wrote: > > Hi, > > > > Baseline compiler builds fail on all sparc*-netbsd configurations. > > > > In file included from ./tm_p.h:4, > > from /runner/crossbuilds/../gcc/gcc/config/netbsd-d.c:27: > > /runner/crossbuilds/../gcc/gcc/config/sparc/sparc-protos.h:45:47: > > error: use of enum ‘memmodel’ without previous declaration > > 45 | extern void sparc_emit_membar_for_model (enum memmodel, int, int); > > | ^~~~~~~~ > > make[2]: *** [/runner/crossbuilds/../gcc/gcc/config/t-netbsd:24: > > netbsd-d.o] Error 1 > > > > > > This patch fixes up the includes so compile succeeds. Tested using > > config-list.mk on all netbsd variants. > > > > OK? > > > > Looks good! >
Thanks, committed as r270625. Jakub, would this be OK for the gcc-9-branch as well? -- Iain