I verified the fix in a lxd. Before enabling proposed:
root@trusty:~# gccgo --version
gccgo (Ubuntu 4.9.1-0ubuntu1) 4.9.1
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@trusty:~# gccgo test.go
In function 'main.$nested1':
go1: internal compiler error: in comparison, at go/gofrontend/expressions.cc:6508
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gccgo-4.9/README.Bugs> for instructions.
root@trusty:~#
And after:
root@trusty:~# gccgo --version
gccgo (Ubuntu 4.9.3-0ubuntu4) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I verified the fix in a lxd. Before enabling proposed:
root@trusty:~# gccgo --version
gccgo (Ubuntu 4.9.1-0ubuntu1) 4.9.1
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@trusty:~# gccgo test.go expressions. cc:6508 //usr/share/ doc/gccgo- 4.9/README. Bugs> for instructions.
In function 'main.$nested1':
go1: internal compiler error: in comparison, at go/gofrontend/
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
root@trusty:~#
And after:
root@trusty:~# gccgo --version
gccgo (Ubuntu 4.9.3-0ubuntu4) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@trusty:~# gccgo test.go
root@trusty:~#