This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, libgo]: Use build.Default.Compiler in go/cmd/vet/types.goq


Without this patch go tool vet segfaults on alpha due to unknown
architecture for gc compiler:

go tool vet: exit status 2
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=1 addr=24 pc=4832064492]

goroutine 1 [running]:
panic
        /space/homedirs/uros/gcc-svn/trunk/libgo/go/runtime/panic.go:588

Attached patch fixes the segfault.

Uros.

Attachment: g.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]