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]

980308: template instantiation failure


Hi,

unfortunately, the program I mailed to the list on
980213 (ID 199802131510.QAA06653@maxp09.mathe.uni-jena.de)
still triggers the bug in g++ (see also my followup
of 980219 (ID 199802191034.AA06107@paxp01.mipool.uni-jena.de)
which is still valid).

The problem is, that the compiler thinks that the
"version" member in "derived_algo" is already
initialized when a second object of the "derived_algo"
class template (with different template parameter) is
defined.

I did not succeed in substantially decreasing the
program's size (besides changing class names etc), so
I believe that it is nearly minimal.

I'd appreciate if some C++ expert could tell me if
this is really a compiler bug or if my code is wrong.
In the former case, please tell me how I can help
fixing this (I do not have knowledge about g++ internals).

Regards
-- 

Ingolf Koch         http://www.minet.uni-jena.de/~ingolf/ 
FSU Jena, Institut fuer Angewandte Mathematik, 07740 Jena


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