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]

egcs-2.91.54: Internal compiler error using template template parms


Hi,

I have found an internal compiler error which happened while compiling
this little peace of code:

----------------snip----------------
template <class T, template <class> class U>
class B : public U<T> {
public:
  B(T _t) : U<T>(_t) {}
};
----------------snip----------------

> g++ -Vegcs-2.91.54 -c -O2 bug5.C
bug5.C: In method `B<T,U>::B(T)':
bug5.C:4: Internal compiler error.
bug5.C:4: Please submit a full bug report to `egcs-bugs@cygnus.com'.

The egcs is the official snapshot from the egcs-ftp-server.

  Bernd




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