On 6/29/20 3:24 AM, Andreas Schwab wrote:
This breaks bootstrap:
In static member function 'static Expression* Type::type_descriptor(Gogo*,
Type*)',
inlined from 'virtual Expression* Named_type::do_type_descriptor(Gogo*,
Named_type*)' at ../../gcc/go/gofrontend/types.cc:11114:53,
inlined from 'virtual Expression* Named_type::do_type_descriptor(Gogo*,
Named_type*)' at ../../gcc/go/gofrontend/types.cc:11105:1:
../../gcc/go/gofrontend/types.cc:1474:34: error: 'this' pointer null
[-Werror=nonnull]
1474 | return type->do_type_descriptor(gogo, NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [../../gcc/go/Make-lang.in:242: go/types.o] Error 1
I opened pr95970.
I don't build Go anymore because of PR 91992.
Martin