This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug for template and struct
- To: egcs-bugs at cygnus dot com
- Subject: Bug for template and struct
- From: Christian Troger <troger at iue dot tuwien dot ac dot at>
- Date: Fri, 24 Jul 1998 11:38:28 +0200
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~