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]

New ICE #19990919 in August snapshot


My quite recent snapshot of cc1plus crashes on an attempt to redefine an
inline function, for example compiling this two-liner:

inline void f () {}
inline void f () {}

It still crashes giving the same message if the redefinition is not inline.
Release 2.95.2 did give the same (correct) diagnostic, but did not crash in
either case.

GNU C++ version 2.96 20000814 (experimental) (i586-sco-sysv5uw7.1.0)
compiled by GNU C version 2.96 20000814 (experimental). 
redef.cpp: In function `void f ()':
redef.cpp:2: redefinition of `void f ()'
redef.cpp:1: `void f ()' previously defined here
redef.cpp: In function `void f ()':
redef.cpp:2: Internal error #19990919.
redef.cpp:2: Internal compiler error in setup_vtbl_ptr, at 
../egcs-20000814/gcc/cp/semantics.c:1203
Please submit a full bug report.

Strange, vtbl for a non-member function?
-----------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual to whom it is addressed.
Any views or opinions presented are solely those of the author
and do not necessarily represent those of Thyron Limited.
If you are not the intended recipient then please be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing or copying of this email
is strictly prohibited.
If you have received this email in error, please notify the
Thyron IT Administrator on +44 (0)1923 236 050 or
send an email to mail-admin@thyron.com.
Thank You

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