Bugreport C++ Linux i386: gcc version 2.95.2 19991024 (release)

Michael Ohme mohme@hgb-leipzig.de
Tue Oct 10 06:32:00 GMT 2000


To the great developers of gcc,

testing a free software package I get a internal error message. The author of
the papckage didn't respond to my email so I send you this stripped
down version in the following code snippet:



/************************** test.cc *******************************************/

#include <stl.h>

template class std::list< int >::iterator;

int main(int argc,char** argv) { return(0); }

/************************** End of test.cc ************************************/



The error messages from compiling it with gcc version 2.95.2 19991024 (release)
and without any flags (gcc test.cc) were:

 test.cc:3: Internal compiler error.
 test.cc:3: Please submit a full bug report.
 test.cc:3: See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

Append is the output of gcc -v --save-temps test.cc which gave

  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 -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486 -D__i486__ test.cc test.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 test.ii -quiet -dumpbase test.cc -version -o test.s
  GNU C++ version 2.95.2 19991024 (release) (i486-suse-linux) compiled by GNU C version 2.95.2 19991024 (release).
  test.cc:3: Internal compiler error.
  test.cc:3: Please submit a full bug report.
  test.cc:3: See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

I hope I submit enough and the right information to you and please excuse my
bad English. With best regards

Michael Ohme


PS: It would be nice to hear the result of this mail, is there some bug or only
    my missing knowledge about templates or what else.




+-----------------------------------------+------------------------------------+
|  Michael Ohme                           |                                    |
|  Academy of Visual Arts                 |   Complex problems have simple,    |
|  Fachbereich Medienkunst                |        easy-to-understand          |
|  Waechterstr. 11, 04107 Leipzig         |           wrong answers            |
|  Germany                                |                                    |
+-----------------------------------------+------------------------------------+
|                           e-mail:  mohme@hgb-leipzig.de                      |
+------------------------------------------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ii.gz
Type: application/x-gzip
Size: 55649 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20001010/291216ac/attachment.bin>


More information about the Gcc-bugs mailing list