Internal compiler error 390
Hans Erickson
herickso@stratasys.com
Wed Dec 8 12:40:00 GMT 1999
GCC version: gcc version 2.95.2 19991024 (release)
System type: RedHat Linux version 2.2.5-15smp
Command line: /usr/bin/g++ -v --save-temps -c err.cpp
Preprocessed output: [Attached]
When the following C++ file is compiled:
// BEGIN C++
#include <algorithm>
extern void blah1(int c);
void blah2()
{
blah1(count);
}
// END C++
The compiler gives the following output:
[ BEGIN OUTPUT ]
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/cpp -lang-c++ -v
-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 -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686
-D__i686__ -D__pentiumpro -D__pentiumpro__ err.cpp err.ii
GNU CPP version 2.95.2 19991024 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3
/usr/include
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../i686-pc-linux-gnu/include
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search
path:
End of omitted list.
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/cc1plus err.ii -quiet
-dumpbase err.cc -version -o err.s
GNU C++ version 2.95.2 19991024 (release) (i686-pc-linux-gnu) compiled
by GNU C version 2.95.1 19990816 (release).
err.cpp: In function `void blah2()':
err.cpp:7: Internal compiler error 390.
err.cpp:7: Please submit a full bug report.
err.cpp:7: See
<URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
[ END OUTPUT ]
There appears to be some conflict between the undeclared variable
"count" and
the algorithm include file.
- Hans Erickson
herickso@stratasys.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: err390.tar.gz
Type: application/x-gzip
Size: 25980 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19991208/1536cdcf/attachment.bin>
More information about the Gcc-bugs
mailing list