Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gccgo: gccgo-4.9.0 internal compiler error #8612

Closed
davecheney opened this issue Aug 29, 2014 · 4 comments
Closed

Gccgo: gccgo-4.9.0 internal compiler error #8612

davecheney opened this issue Aug 29, 2014 · 4 comments

Comments

@davecheney
Copy link
Contributor

davecheney commented Aug 29, 2014

What steps will reproduce the problem?

http://play.golang.org/p/SNDWCuDsPL

% go run -compiler=gccgo issue.go
# command-line-arguments
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.

Please use labels and text to provide additional information.

% gccgo -v
Using built-in specs.
COLLECT_GCC=gccgo
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9-20140406-0ubuntu1'
--with-bugurl=file:///usr/share/doc/gccgo-4.9/README.Bugs --enable-languages=c,c++,go
--prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-libmudflap --disable-libquadmath --enable-plugin
--with-system-zlib --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.0 20140405 (experimental) [trunk revision 209157] (Ubuntu
4.9-20140406-0ubuntu1)
@davecheney
Copy link
Contributor Author

davecheney commented Aug 29, 2014

Comment 1:

Sorry, the version was slightly wrong. 
I've also tested this with some other 4.9.0/1 variants
$ gccgo -v
Using built-in specs.
COLLECT_GCC=gccgo
COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc64le-linux-gnu/4.9/lto-wrapper
Target: powerpc64le-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9.1-2ubuntu2~14.04'
--with-bugurl=file:///usr/share/doc/gccgo-4.9/README.Bugs --enable-languages=c,c++,go
--prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-libsanitizer --disable-libquadmath --enable-plugin
--with-system-zlib --enable-secureplt --with-cpu=power7 --with-tune=power8
--disable-multilib --enable-multiarch --disable-werror --with-long-double-128
--enable-checking=release --build=powerpc64le-linux-gnu --host=powerpc64le-linux-gnu
--target=powerpc64le-linux-gnu
Thread model: posix
gcc version 4.9.1 (Ubuntu 4.9.1-2ubuntu2~14.04) 
If this is fixed upstream, is it possible to get this backported to the 4.9 branch?

@gopherbot
Copy link

gopherbot commented Aug 29, 2014

Comment 2:

CL https://golang.org/cl/135170043 mentions this issue.

@ianlancetaylor
Copy link
Contributor

ianlancetaylor commented Aug 29, 2014

Comment 3:

This issue was updated by revision de7fea0.

LGTM=minux
R=golang-codereviews, minux
CC=golang-codereviews
https://golang.org/cl/135170043

@ianlancetaylor
Copy link
Contributor

ianlancetaylor commented Aug 29, 2014

Comment 4:

Fixed on tip and 4.9 branch.
Thanks for reporting it.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants