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

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to