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]

ICE #19990916 (in cc1plus 2.96 20000814) after missing semicolon


The following (wrong) code causes an ICE.
Also note that the line number (7) of one error message is wrong:
there is no `:' in line 7.
========================================
struct Foo { struct impl; };
struct BarBase {};
struct Foo::impl {
  ~impl ()			// missing `;'
  class Bar: BarBase {
  };
};
========================================
GNU C++ version 2.96 20000814 (experimental) (i586-sco-sysv5uw7.1.0)
compiled by GNU C version 2.96 20000814 (experimental). 
colon.cpp:5: parse error in method specification before `:' 
colon.cpp:7: parse error before `:' 
colon.cpp:8: Internal error #19990916.
colon.cpp:8: Internal compiler error in poplevel, at 
../egcs-20000814/gcc/cp/decl.c:1306
Please submit a full bug report.

[please ignore the following confidentiality clause]
-----------------------------------------------------------------
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]