www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - gdc-0.15: internal compiler error

reply anonymous nowhere.you.know writes:
Hi!  I am trying to compile the indigo template library.  I'm using
gdc version 0.15:

Reading specs from /usr/local/lib/gcc/i386-portbld-freebsd5.4/3.4.5-gdc/specs
Configured with: ./configure --disable-nls --with-system-zlib
.5-gdc/include/c++/ --disable-shared --prefix=/usr/local
--enable-languages=c,d,c++ --prefix=/usr/local i386-portbld-freebsd5.4
Thread model: posix
gcc version 3.4.5-gdc 20050607 (prerelease) (gdc 0.15, using dmd 0.128)

The error happened with gdc-0.14 as well.  It says:

2:19 ~/local/src/d/indigo/bug$ gdc -c translation_impl.d
translation_impl.d:658: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

I'm new to D, so making a small test case is hard for me.  I trimmed
down the needed files as much as I can.  You can grab them from here:


If you know of any workaround for this problem, I would love to hear
it.  If you need me to test anything further, don't hesitate to ask.


If you're not part of the solution, you're part of the precipitate.
Jul 23 2005
parent tim desert.net writes:

Ugh, posting with lynx isn't foolproof.  My e-mail address
is tim desert.net.  My name is Tim Smith.

Sorry for the inconvenience.

Thanks again,

Jul 23 2005