Internal Comiler Error in egcs-2.91.61 19990216

Peter L. Higley phigley@surfree.com
Sun Feb 28 22:48:00 GMT 1999


Got an internal compiler error.
All files generated by egcs -v --save-temps incomperror.cc (standard
error output is in intcomperror.out) are in intcomperr.tgz.

Here is the source code so you don't have to unpack all that if you have
seen this:

template<bool cond>
struct BeezleBub  { typedef char evil[cond ? 1 : -1]; }

The char doesn't matter.  I get an error for int or any other
user-defined type.
( Nifty little compile time assert, huh?  comp.lang.c++.moderated is a
great news group!)


Long live egcs!

Peter
phigley@surfree.com


More information about the Gcc-bugs mailing list