public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/47524] New: go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
@ 2011-01-28 21:04 daney at gcc dot gnu.org
  2011-01-28 21:05 ` [Bug go/47524] " daney at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: daney at gcc dot gnu.org @ 2011-01-28 21:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47524

           Summary: go1: internal compiler error: in do_get_tree, at
                    go/gofrontend/types.cc:1739
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: daney@gcc.gnu.org


Building from svn://gcc.gnu.org/svn/gcc/trunk r169336

On a mips64-linux host.  Configured:

../trunk/configure --with-float=soft --with-arch=octeon
--with-gmp=/root/gccsvn/mp --with-mpfr=/root/gccsvn/mp
--enable-languages=all,go

When building libgo I get this ICE.

libtool: compile:  /root/gccsvn/native-trunk/./gcc/gccgo
-B/root/gccsvn/native-trunk/./gcc/ -B/usr/local/mips64-unknown-linux-gnu/bin/
-B/usr/local/mips64-unknown-linux-gnu/lib/ -isystem
/usr/local/mips64-unknown-linux-gnu/include -isystem
/usr/local/mips64-unknown-linux-gnu/sys-include -O2 -g -I . -c
-fgo-prefix=libgo_syscalls ../../../trunk/libgo/syscalls/errstr.go
../../../trunk/libgo/syscalls/errstr_decl_linux.go
../../../trunk/libgo/syscalls/exec_helpers.go
../../../trunk/libgo/syscalls/exec.go
../../../trunk/libgo/syscalls/sysfile_largefile.go
../../../trunk/libgo/syscalls/sleep_select.go
../../../trunk/libgo/syscalls/socket.go
../../../trunk/libgo/syscalls/socket_linux.go
../../../trunk/libgo/syscalls/socket_epoll.go
../../../trunk/libgo/syscalls/syscall.go
../../../trunk/libgo/syscalls/syscall_unix.go
../../../trunk/libgo/syscalls/stringbyte.go
../../../trunk/libgo/syscalls/syscall_linux.go
../../../trunk/libgo/syscalls/syscall_linux_mips64.go
../../../trunk/libgo/syscalls/sysfile_posix.go sysinfo.go syscall_arch.go 
-fPIC -o syscalls/.libs/syscall.o
In function ‘syscall.PC.pN33_libgo_syscalls.syscall.PtraceRegs’:
go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


I will attach the .go files that are not part of the SVN sources.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug go/47524] go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
  2011-01-28 21:04 [Bug go/47524] New: go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739 daney at gcc dot gnu.org
@ 2011-01-28 21:05 ` daney at gcc dot gnu.org
  2011-01-28 21:05 ` daney at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: daney at gcc dot gnu.org @ 2011-01-28 21:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47524

--- Comment #2 from David Daney <daney at gcc dot gnu.org> 2011-01-28 20:58:38 UTC ---
Created attachment 23159
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23159
syscall_linux_mips64.go


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug go/47524] go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
  2011-01-28 21:04 [Bug go/47524] New: go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739 daney at gcc dot gnu.org
  2011-01-28 21:05 ` [Bug go/47524] " daney at gcc dot gnu.org
@ 2011-01-28 21:05 ` daney at gcc dot gnu.org
  2011-01-28 21:18 ` daney at gcc dot gnu.org
  2012-02-14 19:57 ` ian at airs dot com
  3 siblings, 0 replies; 5+ messages in thread
From: daney at gcc dot gnu.org @ 2011-01-28 21:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47524

--- Comment #1 from David Daney <daney at gcc dot gnu.org> 2011-01-28 20:58:06 UTC ---
Created attachment 23158
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23158
syscall_arch.go


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug go/47524] go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
  2011-01-28 21:04 [Bug go/47524] New: go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739 daney at gcc dot gnu.org
  2011-01-28 21:05 ` [Bug go/47524] " daney at gcc dot gnu.org
  2011-01-28 21:05 ` daney at gcc dot gnu.org
@ 2011-01-28 21:18 ` daney at gcc dot gnu.org
  2012-02-14 19:57 ` ian at airs dot com
  3 siblings, 0 replies; 5+ messages in thread
From: daney at gcc dot gnu.org @ 2011-01-28 21:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47524

--- Comment #3 from David Daney <daney at gcc dot gnu.org> 2011-01-28 20:59:09 UTC ---
Created attachment 23160
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23160
sysinfo.go


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug go/47524] go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
  2011-01-28 21:04 [Bug go/47524] New: go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739 daney at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-01-28 21:18 ` daney at gcc dot gnu.org
@ 2012-02-14 19:57 ` ian at airs dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ian at airs dot com @ 2012-02-14 19:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47524

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Ian Lance Taylor <ian at airs dot com> 2012-02-14 19:57:08 UTC ---
I believe that this problem has been fixed.  Thanks for reporting it.

(The problem was that the compiler was not running the determine_types pass on
array type length expressions.)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-14 19:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 21:04 [Bug go/47524] New: go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739 daney at gcc dot gnu.org
2011-01-28 21:05 ` [Bug go/47524] " daney at gcc dot gnu.org
2011-01-28 21:05 ` daney at gcc dot gnu.org
2011-01-28 21:18 ` daney at gcc dot gnu.org
2012-02-14 19:57 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).