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]

Internal compiler error (nested classes?)


Hi!

I've encountered an internal compiler error in gcc version 2.95.2 on an
Athlon Thunderbird PC running SUSE Linux.

The software compiles just fine with gcc version 2.95.1 on a dual
processor Alpha and with gcc version 2.8.1 on an SGI server.

When I look in the source code at the line where the internal compiler
error occurs, I notice that it is the first place where I declare a class
nested within another class. I also have another program which crach in a
similar fashion. That is my best guess what is wrong.

Included below is the stdout/stderr from gcc. Good luck with the hunt.

With kind regards
Lars Juhl Jensen
Center for Biological Sequence Analysis
The Technical University of Denmark

-------------------------------------------------------------------------------

Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/lib/gcc-lib/i486-suse-linux/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 -D__OPTIMIZE__ -Acpu(i386) -Amachine(i386)
-Di386 -D__i386 -D__i386__ -Di486 -D__i486 -D__i486__ -DNNAMESPACES
try_hmm.C try_hmm.ii
GNU CPP version 2.95.2 19991024 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/g++
 /usr/local/include
 /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:

/usr/lib/gcc-lib/i486-suse-linux/2.95.2/../../../../i486-suse-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i486-suse-linux/2.95.2/cc1plus try_hmm.ii -quiet
-dumpbase try_hmm.cc -O3 -version -ftemplate-depth-32 -o try_hmm.s
GNU C++ version 2.95.2 19991024 (release) (i486-suse-linux) compiled by
GNU C version 2.95.2 19991024 (release).
In file included from try_hmm.C:2:
hmm.H:291: Internal compiler error.
hmm.H:291: Please submit a full bug report.
hmm.H:291: See <URL:http://www.gnu.org/software/gcc/bugs.html> for
instructions.

Preprocessed output


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