From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32136 invoked by alias); 7 Nov 2012 23:41:15 -0000 Received: (qmail 31860 invoked by uid 48); 7 Nov 2012 23:39:57 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43313] ICE with non-POD and covariant return thunks Date: Wed, 07 Nov 2012 23:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg00682.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43313 --- Comment #8 from Peter Bergner 2012-11-07 23:39:56 UTC --- ...and the reduced test case I used for the above. Does any of the above make sense for anyone? class CObject {}; class CMsgProc:virtual public CObject { }; template < typename ValueType > class CTypesafeValue { }; class CRemapPidIndex:public CTypesafeValue < short unsigned int > {}; class ICarousel { virtual ~ ICarousel (); }; class IPlayout { virtual ICarousel * CreateCarousel (CRemapPidIndex PidIndex) = 0; }; class CCarousel:public CMsgProc, public ICarousel { }; class CPlayout: public IPlayout { CCarousel *CreateCarousel (CRemapPidIndex PidIndex); }; CCarousel *CPlayout::CreateCarousel (CRemapPidIndex PidIndex) { }