This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal error #378
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal error #378
- From: René Møller Fonseca <fonseca at mip dot sdu dot dk>
- Date: Sun, 20 Aug 2000 17:57:39 +0200
- Organization: MIP, University of Southern Denmark
See attachments for source code and compilation results.
My system:
Distribution
RedHat - Pinstripe/Rawhide
CPU
686
notdeclared.cpp
g++ -v --save-temps notdeclared.cpp
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (experimental)
/usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c++ -D__GNUG__=2 -v -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ notdeclared.cpp notdeclared.ii
GNU CPP version 2.96 20000731 (experimental) (cpplib)
(i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include/g++-3
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include
/usr/include
End of search list.
/usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1plus notdeclared.ii -quiet -dumpbase notdeclared.cpp -version -o notdeclared.s
GNU C++ version 2.96 20000731 (experimental) (i386-redhat-linux) compiled by GNU C version 2.96 20000731 (experimental).
notdeclared.cpp:1: `size_t' was not declared in this scope
notdeclared.cpp:1: parse error before `)'
notdeclared.cpp: In function `void *operator new (int)':
notdeclared.cpp:1: Internal error #378.
notdeclared.cpp:1: Internal compiler error in pushdecl, at
../gcc/cp/decl.c:4109
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
# 1 "notdeclared.cpp"
void* operator new(size_t size) {
}
int main() {
return 0;
}
.file "notdeclared.cpp"
.version "01.01"
gcc2_compiled.: