From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22249 invoked by alias); 6 Apr 2003 23:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22235 invoked by uid 71); 6 Apr 2003 23:06:01 -0000 Date: Sun, 06 Apr 2003 23:06:00 -0000 Message-ID: <20030406230601.22234.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" Subject: Re: c++/7910: [cygwin] Seg fault of g++ 3.2 when compiling OpenSceneGraph 0.9.1 Reply-To: "Giovanni Bajo" X-SW-Source: 2003-04/txt/msg00217.txt.bz2 List-Id: The following reply was made to PR c++/7910; it has been noted by GNATS. From: "Giovanni Bajo" To: , , , , Cc: "Wolfgang Bangerth" Subject: Re: c++/7910: [cygwin] Seg fault of g++ 3.2 when compiling OpenSceneGraph 0.9.1 Date: Mon, 7 Apr 2003 01:05:21 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p r=7910 I can reproduce this only with 3.3 (20030401). Redux is: --------------------------------------------- class __attribute__((dllimport)) Foo { public: virtual void dummy_foo_func(void) {} }; class Bar : public Foo { public: ~Bar(); void dummy_bar_func(); }; Bar::~Bar() {} void Bar::dummy_bar_func() {} --------------------------------------------- pr7910.cpp:20: internal compiler error: Segmentation fault Please submit a full bug report, Notice that Bar's destructor and the other dummy function _must_ be defined out of the class definition for the ICE to happen. 2.95, 3.2 and 3.2.2 compile the code correctly. I can't test with 3.4 (mainline broken for cygwin). 3.3 regression only. Giovanni Bajo