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]

Bugreport: internal compiler error



Hello,

I got an internal compiler error for this (invalid) code:

-------------test5.cxx-------------------
template<class T> class foo : public T 
{
   public:
};


main()
{
   foo<int> a;
}
----------------------------------------

test5.cxx: In instantiation of `foo<int>':
test5.cxx:10:   instantiated from here
test5.cxx:10: Internal compiler error.
test5.cxx:10: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
test5.cxx:10: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.


$ gcc --version
egcs-2.91.66


Regards,

	Matthias Meixner


-- 
Matthias Meixner                   meixner@rbg.informatik.tu-darmstadt.de
Technische Universität Darmstadt
Rechnerbetriebsgruppe                          Telefon (+49) 6151 16 6670
Wilhelminenstraße 7, D-64283 Darmstadt, Germany    Fax (+49) 6151 16 4701

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