From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12102 invoked by alias); 3 Feb 2004 09:25:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 12077 invoked by uid 48); 3 Feb 2004 09:25:30 -0000 Date: Tue, 03 Feb 2004 09:25:00 -0000 Message-ID: <20040203092530.12075.qmail@sources.redhat.com> From: "mmitchel at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040120110040.13768.igodard@pacbell.net> References: <20040120110040.13768.igodard@pacbell.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13768] [3.4/3.5 Regression] -funit-at-a-time compiles unused inline function X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg00311.txt.bz2 List-Id: ------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-02-03 09:25 ------- The code is indeed invalid. When a complete object of type X is created, the compiler is allowed to emit the vtable for X, and that permits instantiating the virtual functions. However, this is an optimization deficiency in -funit-at-a-time. I've therefore assigned the bug to Jan. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jh at suse dot cz |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13768