Package: gcc
Version: 2:2.95.4-15
Severity: normal

struct T {
        void A()
        {
                B("x");
        }

        template<class T>
        void B(const T &n)
        {
        }
};

06:26pm [EMAIL PROTECTED]/5 [~/prob] g++ -g -Wall oops.cc
oops.cc: In method `void T::B<char[2]>(const char (&)[2])':
oops.cc:4:   instantiated from here
oops.cc:9: Internal compiler error.

(Reorder the functions and this goes away.)

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux zewt.org 2.4.4-xfs #2 SMP Sun May 27 17:49:22 EDT 2001 i686
Locale: LANG=en_US.utf-8, LC_CTYPE=en_US.utf-8

Versions of packages gcc depends on:
ii  cpp                          2:2.95.4-15 The GNU C preprocessor.
ii  cpp-2.95                     1:2.95.4-9  The GNU C preprocessor.
ii  gcc-2.95                     1:2.95.4-9  The GNU C compiler.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to