[Bug go/61624] New: Internal compiler error: in read_type, at go/gofrontend/import.cc:669
alx.sukhanov at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 26 19:00:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61624
Bug ID: 61624
Summary: Internal compiler error: in read_type, at
go/gofrontend/import.cc:669
Product: gcc
Version: 4.8.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: alx.sukhanov at gmail dot com
CC: cmang at google dot com
SYSTEM INFO
===========
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.8.4/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --enable-languages=c,c++,go
Thread model: posix
gcc version 4.8.4 20140624 (prerelease) (GCC)
$ cat /proc/version
Linux version 3.8.0-42-generic (buildd@allspice) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #62~precise1-Ubuntu SMP Wed Jun 4 22:04:18 UTC
2014
PROBLEM
========
$ gccgo -I $GOPATH/pkg/gccgo_linux_amd64 -save-temps -c addressbook.pb.go
add_person.go
go1: internal compiler error: in read_type, at go/gofrontend/import.cc:669
0x57e8be Import::read_type()
../../gcc/go/gofrontend/import.cc:669
0x5ac2c9 Named_type::import_named_type(Import*, Named_type**)
../../gcc/go/gofrontend/types.cc:8821
0x57c1d1 Import::import_type()
../../gcc/go/gofrontend/import.cc:443
0x57d345 Import::import(Gogo*, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, bool)
../../gcc/go/gofrontend/import.cc:349
0x572e52 Gogo::import_package(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, bool, Location)
../../gcc/go/gofrontend/gogo.cc:492
0x584567 Parse::import_spec(void*)
../../gcc/go/gofrontend/parse.cc:5567
0x5858c8 Parse::import_decl()
../../gcc/go/gofrontend/parse.cc:5534
0x595365 Parse::program()
../../gcc/go/gofrontend/parse.cc:5589
0x55f0ce go_parse_input_files(char const**, unsigned int, bool, bool)
../../gcc/go/gofrontend/go.cc:70
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
adressbook.pb.go is generated by Google proto buff compiler.
add_person.go - basic usage of proto (probably wrong)
Files are attached.
Please let me know if you need anything else or I should correct/improve my bug
report. Thank you
More information about the Gcc-bugs
mailing list