www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++.beta - [bug] DMC 8.50.1 crash and/or ICE

↑ ↓ ← Les Baker <les_baker REMOVETHISbellsouth.net> writes:
I tried to reduce this down as much as possible -- produces a
crash ("We're sorry for the inconvienience..." etc).  Commenting
out the constructor and destructor will produce an "cpp 5484" ICE
instead of a crash.  These bugs also happen in the 8.49 version.

Thanks for looking at this -- Les Baker


--- begin code ---
template <typename T>
class A {
        template <typename T> class A_inner;

        // Comment out the two lines below to produce ICE
        A() {}
        ~A() {}

        void method(const T);
};

template <typename T>
class A<T>::A_inner
{
};

template A<int>::method(const T);
--- end code ---
Nov 19 2006
↑ ↓ → Walter Bright <newshound digitalmars.com> writes:
Thanks for reporting this.
Nov 19 2006