Bug for template and struct

Christian Troger troger@iue.tuwien.ac.at
Fri Jul 24 02:38:00 GMT 1998


template< class T > void  structbug()
{
  struct { int i;} x;
};

produces on Linux and Digital Unix the following output:
\
structbug.cc: In function `void structbug()':
structbug.cc:3: Internal compiler error.
structbug.cc:3: Please submit a full bug report to
`egcs-bugs@cygnus.com'.

egc version:
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       Christian TROGER
  Institute for Microelectronics     phone: +43-1-58801-3719
  Vienna University of Technology    fax:   +43-1-5059224
  Gusshausstrasse 27-29/E360         eMail: troger@iue.tuwien.ac.at
  A-1040 Vienna                      http://www.iue.tuwien.ac.at/
         A U S T R I A
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






More information about the Gcc-bugs mailing list