Internal compiler error

Scott Bigham dsb@cs.duke.edu
Fri Nov 27 13:09:00 GMT 1998


I have encountered an internal compiler error in:

  Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.90.29/specs
  gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

Attached is a sample code fragment that triggers the error.  Note that the
error goes away if a template declaration for f() is added before the
template declaration of Struct; the Standard is not clear on whether it is
necessary to do this, so this may be a bug in my code rather than the
compiler.

Thank you.

						-sbigham


More information about the Gcc-bugs mailing list