generic thunk code fails...

Daniel Sands dnsands@sandia.gov
Wed Jun 20 15:55:00 GMT 2001


My sendmail isn't set up to send out mail, so I had to manually resend this:

>Submitter-Id:  net
>Originator:    root
>Organization:  Sandia Labs
>Confidential:  no
>Synopsis:      generic thunk code fails...
>Severity:      critical
>Priority:      medium
>Category:      c++
>Class:         ice-on-legal-code
>Release:       3.0
>Environment:
System: Linux 2.4.2-SGI_XFS_1.0smp #25 SMP Wed Jun 13 15:42:44 MDT 2001 i686
Architecture: i686


host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.0/configure --prefix=/usr
>Description:
Fails in case of virtual inheritance with "..." functions.

>How-To-Repeat:

class test2 {
  public:
    virtual void test_m(int a, ...) {}
};

class test : public virtual test2 {
  public:
    virtual void test_m(int a, ...) {}
} test_c;




More information about the Gcc-bugs mailing list