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]

Bug for template and struct


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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]