This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/9237: ICE with dllimport


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]