This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-2.95.1, templates, internal compiler error


Hi,
here is a bug report for an internal compiler error, probably due to
templates black magic.
here are the details, and an attached .ii file using bzip2 -z9

Thanks!

Vincent Ficet


compiler: gcc-2.95.1 from redhat source rpms

system: linux 2.2.9 i686 (pentium II 300)

C library: 
command line: g++ -c -v --save-temps -g -I../h -o main.o main.cpp

output from command:

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/specs
gcc version 2.95.1 19990816/Linux (release)
 /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/cpp -lang-c++ -v -I ../h
-D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__
-Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__
-D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -g -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ main.cpp main.ii
GNU CPP version 2.95.1 19990816/Linux (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 ../h
 /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/../../../../include/g++-3
 /usr/local/include
 /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/include
 /usr/include
End of search list.
The following default directories have been omitted from the search
path:

/usr/lib/gcc-lib/i386-redhat-linux/2.95.1/../../../../i386-redhat-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/cc1plus main.ii -quiet
-dumpbase main.cc -g -version -o main.s
GNU C++ version 2.95.1 19990816/Linux (release) (i386-redhat-linux)
compiled by GNU C version 2.95.1 19990816/Linux (release).
refcontainer.cpp: In method `AutoUpdateMathsContainer<long
double,unsigned int,AutoUpdateWeightItem,long
double>::AutoUpdateMathsContainer(const long double &, const unsigned
int &, const unsigned int &, const long double &, const long double &)':
main.cpp:136:   instantiated from here
refcontainer.cpp:1006: Internal compiler error.
refcontainer.cpp:1006: Please submit a full bug report.
refcontainer.cpp:1006: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.

main.ii.bz2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]