C++ ICE compiling libstdc++-v3 (Still!)

Chip Salzenberg chip@valinux.com
Sat May 20 13:48:00 GMT 2000


Since apparently not many people are seeing the same thing I am, I'm
including the problematic preprocessor output in this report.  Maybe
someone who is good at debugging memory corruption will take pity.
(Oddly enough, compiling with "-fno-strict-aliasing" works....)

Here's the configuration:

      SRC/configure
      --with-gcc-version-trigger=/u/build/gcc/egcs/SRC/gcc/version.c
      --host=i686-pc-linux-gnu --prefix=/usr/local/egcs
      --enable-languages=objc,c++ --enable-threads=posix --enable-shared
      --enable-version-specific-runtime-libs --enable-libstdcxx-v3
      --enable-namespaces --enable-long-long --norecursion

Here's the cc1plus command that fails:

      /u/build/gcc/egcs/gcc/cc1plus -quiet -dumpbase misc-inst.cc -g -g -O2 -Wall -Wno-format -W -Wwrite-strings -Winline -Werror -version -fvtable-thunks -fno-implicit-templates -fimplicit-templates -fPIC -o - <mi.i >mi.s
GNU C++ version 2.96 20000520 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 20000520 (experimental).
In file included from ../../../SRC/libstdc++-v3/bits/ostream.tcc:364:
../../../SRC/libstdc++-v3/bits/basic_ios.h: In instantiation of `std::basic_ostream<_CharT, _Traits>::tellp () [with _CharT = char, _Traits = std::char_traits<char>]':
../../../SRC/libstdc++-v3/src/misc-inst.cc:116:   instantiated from here
../../../SRC/libstdc++-v3/bits/basic_ios.h:343: Internal compiler error.
../../../SRC/libstdc++-v3/bits/basic_ios.h:343: Please submit a full bug report.
../../../SRC/libstdc++-v3/bits/basic_ios.h:343: See <URL: http://www.gnu.org/software/gcc/bugs.html > for
instructions.

And I've attached the preprocessor output ("mi.i").

HELP?!
-- 
Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mi.i.gz
Type: application/x-gzip
Size: 74584 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000520/5df905d5/attachment.bin>


More information about the Gcc-bugs mailing list