[Bug go/90272] New: internal compile error with full backtrace

22374604 at sun dot ac.za gcc-bugzilla@gcc.gnu.org
Sun Apr 28 12:09:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90272

            Bug ID: 90272
           Summary: internal compile error with full backtrace
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: 22374604 at sun dot ac.za
                CC: cmang at google dot com
  Target Milestone: ---

Created attachment 46255
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46255&action=edit
program that uncovers the bug reported in the description

I found another bug different from the one I reported in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90116.  I have attached the
program uncovering this bug. Below is the output:

go1: internal compiler error: in func_value, at go/gofrontend/gogo.h:2583
0x9d0bfb Named_object::func_value()
        ../../gcc-8.2.0/gcc/go/gofrontend/gogo.h:2583
0xb1a03d Type_declaration::define_methods(Named_type*)
        ../../gcc-8.2.0/gcc/go/gofrontend/gogo.cc:7099
0xb1ae54 Named_object::set_type_value(Named_type*)
        ../../gcc-8.2.0/gcc/go/gofrontend/gogo.cc:7291
0xb1e54c Bindings::define_type(Named_object*, Named_type*)
        ../../gcc-8.2.0/gcc/go/gofrontend/gogo.cc:7853
0xafb8ed Gogo::define_type(Named_object*, Named_type*)
        ../../gcc-8.2.0/gcc/go/gofrontend/gogo.cc:2132
0xb979ea Parse::type_spec(void*, unsigned int)
        ../../gcc-8.2.0/gcc/go/gofrontend/parse.cc:1598
0xb95c9a Parse::decl(void (Parse::*)(void*, unsigned int), void*, unsigned int)
        ../../gcc-8.2.0/gcc/go/gofrontend/parse.cc:1357
0xb971e5 Parse::type_decl(unsigned int)
        ../../gcc-8.2.0/gcc/go/gofrontend/parse.cc:1520
0xb95861 Parse::declaration()
        ../../gcc-8.2.0/gcc/go/gofrontend/parse.cc:1321
0xbb1c2c Parse::program()
        ../../gcc-8.2.0/gcc/go/gofrontend/parse.cc:5807
0xae8734 go_parse_input_files(char const**, unsigned int, bool, bool)
        ../../gcc-8.2.0/gcc/go/gofrontend/go.cc:79
0xad4a71 go_langhook_parse_file
        ../../gcc-8.2.0/gcc/go/go-lang.c:329
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.


More information about the Gcc-bugs mailing list