[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Internal compiler error in write_builtin_type, at cp/mangle.c:1594
From: |
Alex Vinokur |
Subject: |
Internal compiler error in write_builtin_type, at cp/mangle.c:1594 |
Date: |
Sun, 15 Jun 2003 21:08:46 +0300 |
Here is a bug report.
=============================
Windows 2000
DJGPP 2.03
GNU gcc/gpp version 3.2.1
=============================
========= C++ code : BEGIN =========
// File t.cpp
#include <string.h>
#include <string>
#include <sstream>
using namespace std;
template <typename T>
string to_string (const T& t)
{
ostringstream oss;
oss << t;
return oss.str();
}
int main()
{
to_string(strlen("ABC"));
return 0;
}
========= C++ code : END ===========
========= Compilation : BEGIN =========
$ gpp -v -save-temps t.cpp
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.21/specs
Configured with: /devel/gnu/gcc/3.2/gnu/gcc-3.21/configure i586-pc-msdosdjgpp
--prefix=/dev/env/DJDIR --disable-nls
Thread model: single
gcc version 3.2.1
c:/djgpp/lib/gcc-lib/djgpp/3.21/cpp0.exe -lang-c++ -D__GNUG__=3 -D__DEPRECATED
-D__EXCEPTIONS -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D_
_GNUC_PATCHLEVEL__=1 -D__GXX_ABI_VERSION=102 -D__MSDOS__ -D__GO32__
-D__DJGPP__=2 -D__unix__ -D__MSDOS__ -D__GO32__ -D__DJGPP__=2 -D
__unix__ -Asystem=msdos -Asystem=unix -D__NO_INLINE__ -D__STDC_HOSTED__=1
-Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__t
une_i586__ -D__tune_pentium__ -DMSDOS -DGO32 -DDJGPP=2 -Dunix -remap -imacros
c:/djgpp/lib/gcc-lib/djgpp/3.21/djgpp.ver t.cpp t.ii
GNU CPP version 3.2.1 (cpplib) (80386, BSD syntax)
ignoring nonexistent directory "c:/djgpp/djgpp/include"
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/lang/cxx/3.21
c:/djgpp/lang/cxx/3.21/djgpp
c:/djgpp/lang/cxx/3.21/backward
c:/djgpp/lib/gcc-lib/djgpp/3.21/include
c:/djgpp/include
End of search list.
c:/djgpp/lib/gcc-lib/djgpp/3.21/cc1plus.exe -fpreprocessed t.ii -quiet
-dumpbase t.cpp -version -o t.s
GNU CPP version 3.2.1 (cpplib) (80386, BSD syntax)
GNU C++ version 3.2.1 (djgpp)
compiled by GNU C version 3.2.1.
t.cpp: In function `int main()':
t.cpp:17: Internal compiler error in write_builtin_type, at cp/mangle.c:1594
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
========= Compilation : END ===========
--
==========================================
Alex Vinokur
mailto:address@hidden
http://www.simtel.net/pub/oth/19088.html
http://sourceforge.net/users/alexvn
==========================================