This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/9237: ICE with dllimport
- From: brd at sources dot redhat dot com, at at sources dot redhat dot com, paradise at sources dot redhat dot com, d0t at sources dot redhat dot com, net at sources dot redhat dot com, d0t at sources dot redhat dot com, nz at sources dot redhat dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 9 Jan 2003 04:18:19 -0000
- Subject: c++/9237: ICE with dllimport
- Reply-to: brd at sources dot redhat dot com, at at sources dot redhat dot com, paradise at sources dot redhat dot com, d0t at sources dot redhat dot com, net at sources dot redhat dot com, d0t at sources dot redhat dot com, nz at sources dot redhat dot com
>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: