public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5933: HP-UX: broken MI of virtual classes
@ 2002-04-07 15:31 danglin
  0 siblings, 0 replies; 3+ messages in thread
From: danglin @ 2002-04-07 15:31 UTC (permalink / raw)
  To: danglin, gcc-bugs, gcc-prs, nobody, porten

Synopsis: HP-UX: broken MI of virtual classes

Responsible-Changed-From-To: unassigned->danglin
Responsible-Changed-By: danglin
Responsible-Changed-When: Sun Apr  7 15:31:28 2002
Responsible-Changed-Why:
    Problem analyzed.
State-Changed-From-To: open->closed
State-Changed-By: danglin
State-Changed-When: Sun Apr  7 15:31:28 2002
State-Changed-Why:
    Problem fixed.
    < http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00394.html>

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5933


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/5933: HP-UX: broken MI of virtual classes
@ 2002-04-05  5:36 Harri Porten
  0 siblings, 0 replies; 3+ messages in thread
From: Harri Porten @ 2002-04-05  5:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/5933; it has been noted by GNATS.

From: Harri Porten <harri@kde.org>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
    nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/5933: HP-UX: broken MI of virtual classes
Date: Fri, 05 Apr 2002 15:31:06 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5933
 
 I just tested with the 3.1 20020404 CVS version: this bug is still
 present and makes it impossible to compile Integration Test Qt/X11 2.3
 on HP-UX 11.00 (hppa1.1). The produced 'uic' binary hangs when
 processing .ui files and makes it therefore impossible to finish the
 build.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/5933: HP-UX: broken MI of virtual classes
@ 2002-03-13  6:36 porten
  0 siblings, 0 replies; 3+ messages in thread
From: porten @ 2002-03-13  6:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5933
>Category:       c++
>Synopsis:       HP-UX: broken MI of virtual classes
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 13 06:36:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Harri Porten
>Release:        gcc version 3.1 20020308
>Organization:
>Environment:
hppa1.1-hp-hpux11.00
>Description:
When compiling the class defined in handler.h and handler.cpp
into a shared library on HP-UX 11.00 (B.11.28 ld) a call to
start() from an application (main.cpp) succeeds but never
returns.

// handler.h
#ifndef HANDLER_H
#define HANDLER_H
class H1 { public: virtual void foo() { } };
class H2 { public: virtual void start() = 0; };
class H12 : public H1, public H2 { public: void start(); };
#endif

// handler.cpp
#include "handler.h"
void H12::start()
{
}

// main.cpp
#include "handler.h"
int main()
{
        H12 hnd;
        H2* h2 = &hnd;
        h2->start();
        return 0;
}
>How-To-Repeat:
g++ -shared -fPIC -o libhandler.sl handler.cpp
g++ main.cpp libhandler.sl
./a.out   (hangs forever)
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-07 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-07 15:31 c++/5933: HP-UX: broken MI of virtual classes danglin
  -- strict thread matches above, loose matches on Subject: below --
2002-04-05  5:36 Harri Porten
2002-03-13  6:36 porten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).