ICE 61 in latest CVS.
Klaus-Georg Adams
Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Wed Oct 7 11:09:00 GMT 1998
The appended testcase produces an ICE 61:
achibm5:~/difccd/tests/compiler >> /work/egcs/bin/g++ -c using1.C using1.C:8: Internal compiler error 61.
using1.C:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.
Changing the declaration of insert() to:
iterator insert( iterator pos, const value_type& x );
(note bar:: is missing now) causes egcs to emit:
using1.C:8: syntax error before `('
-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------
struct bar {
typedef int* iterator;
typedef int value_type;
};
struct foo : private bar {
using bar::iterator;
bar::iterator insert( iterator pos, const value_type& x );
};
More information about the Gcc-bugs
mailing list