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]

bug with typeid(NULL)



Hi !

I got an internal error while using gcc version egcs-2.90.23 980102
(egcs-1.0.1 release)

uname -a on my system gives
	Linux bernard 2.0.18 #3 Tue Feb 10 19:38:52 MET 1998 i586

egcs was compiled with no special option to configure

The source file (test.cc) is the following

#include <cstdlib>
#include <typeinfo>

int main()
{
  typeid(NULL);
}

I compile it with gcc -c test.cc and get the error below

test.cc: In function `const class type_info & __tf?()':
test.cc:7: Internal compiler error 252.
test.cc:7: Please submit a full bug report to `egcs-bugs@cygnus.com'.

Of course, this is not a critical bug ! 

Congratulations to the gcc/egcs teams for their excellent work.

Yours,

OR
__________________________________________________________________
Olivier ROUSSEL                 e-mail roussel@cril.univ-artois.fr
CRIL                                   http://www.lifl.fr/~roussel
rue de l'Universite                            Tel: 03-21-79-32-73
SP 16
62 307 Lens Cedex



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