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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
      Known to fail|                            |6.2.0, 7.0

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm that it also happens with GCC 6.2 and trunk (I don't have any
other version of go), with following back-trace:

go1: internal compiler error: in do_get_backend, at
go/gofrontend/expressions.cc:9029
0x6b8c30 Builtin_call_expression::do_get_backend(Translate_context*)
        ../../gcc/go/gofrontend/expressions.cc:9029
0x6b18f5 Expression::comparison(Translate_context*, Type*, Operator,
Expression*, Expression*, Location)
        ../../gcc/go/gofrontend/expressions.cc:6389
0x6b2040 Binary_expression::do_get_backend(Translate_context*)
        ../../gcc/go/gofrontend/expressions.cc:5863
0x71b551 If_statement::do_get_backend(Translate_context*)
        ../../gcc/go/gofrontend/statements.cc:3155
0x6ec168 Block::get_backend(Translate_context*)
        ../../gcc/go/gofrontend/gogo.cc:5984
0x71b4dc Block_statement::do_get_backend(Translate_context*)
        ../../gcc/go/gofrontend/statements.cc:1831
0x6ec168 Block::get_backend(Translate_context*)
        ../../gcc/go/gofrontend/gogo.cc:5984
0x71b4dc Block_statement::do_get_backend(Translate_context*)
        ../../gcc/go/gofrontend/statements.cc:1831
0x6ec168 Block::get_backend(Translate_context*)
        ../../gcc/go/gofrontend/gogo.cc:5984
0x71b4dc Block_statement::do_get_backend(Translate_context*)
        ../../gcc/go/gofrontend/statements.cc:1831
0x6ec168 Block::get_backend(Translate_context*)
        ../../gcc/go/gofrontend/gogo.cc:5984
0x71b4dc Block_statement::do_get_backend(Translate_context*)
        ../../gcc/go/gofrontend/statements.cc:1831
0x6ec168 Block::get_backend(Translate_context*)
        ../../gcc/go/gofrontend/gogo.cc:5984
0x6ecb45 Function::build(Gogo*, Named_object*)
        ../../gcc/go/gofrontend/gogo.cc:5589
0x6ed1bf Named_object::get_backend(Gogo*, std::vector<Bexpression*,
std::allocator<Bexpression*> >&, std::vector<Btype*, std::allocator<Btype*> >&,
std::vector<Bfunction*, std::allocator<Bfunction*> >&)
        ../../gcc/go/gofrontend/gogo.cc:7335
0x6f505a Gogo::write_globals()
        ../../gcc/go/gofrontend/gogo.cc:1307

However I can't reduce a test-case.

Reply via email to