From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2204 invoked by alias); 9 Jan 2003 04:26: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 2167 invoked by uid 71); 9 Jan 2003 04:26:00 -0000 Resent-Date: 9 Jan 2003 04:26:00 -0000 Resent-Message-ID: <20030109042600.2163.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, brd@sources.redhat.com, at@sources.redhat.com, paradise@sources.redhat.com, d0t@sources.redhat.com, net@sources.redhat.com, d0t@sources.redhat.com, nz@sources.redhat.com Received: (qmail 28720 invoked by uid 61); 9 Jan 2003 04:18:19 -0000 Message-Id: <20030109041819.28719.qmail@sources.redhat.com> Date: Thu, 09 Jan 2003 04:26:00 -0000 From: brd@sources.redhat.com, at@sources.redhat.com, paradise@sources.redhat.com, d0t@sources.redhat.com, net@sources.redhat.com, d0t@sources.redhat.com, nz@sources.redhat.com Reply-To: brd@sources.redhat.com, at@sources.redhat.com, paradise@sources.redhat.com, d0t@sources.redhat.com, net@sources.redhat.com, d0t@sources.redhat.com, nz@sources.redhat.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/9237: ICE with dllimport X-SW-Source: 2003-01/txt/msg00583.txt.bz2 List-Id: >Number: 9237 >Category: c++ >Synopsis: ICE with dllimport >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Wed Jan 08 20:26:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: brd at paradise d0t net d0t nz >Release: 3.2.1 >Organization: >Environment: --target=i386-pc-mingw32 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu (probably native i386-pc-mingw32 too) >Description: The following code produces an ICE at expr.c:1245 class __attribute__((dllimport)) A { public: virtual void foo(); }; void bar(A * obj) { obj->foo(); } class __attribute__((dllimport)) B : public A { }; >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: