public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/7442: cxxabi.h does not match the C++ ABI
@ 2002-08-01 14:13 bkoz
0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2002-08-01 14:13 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, grigory
Synopsis: cxxabi.h does not match the C++ ABI
State-Changed-From-To: feedback->closed
State-Changed-By: bkoz
State-Changed-When: Thu Aug 1 14:13:39 2002
State-Changed-Why:
Fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7442
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libstdc++/7442: cxxabi.h does not match the C++ ABI
@ 2002-07-31 14:19 bkoz
0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2002-07-31 14:19 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, grigory
Synopsis: cxxabi.h does not match the C++ ABI
State-Changed-From-To: analyzed->feedback
State-Changed-By: bkoz
State-Changed-When: Wed Jul 31 14:19:26 2002
State-Changed-Why:
These issues have been fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7442
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libstdc++/7442: cxxabi.h does not match the C++ ABI
@ 2002-07-31 12:39 bkoz
0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2002-07-31 12:39 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, grigory, nobody
Synopsis: cxxabi.h does not match the C++ ABI
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Wed Jul 31 12:39:47 2002
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Wed Jul 31 12:39:47 2002
State-Changed-Why:
I'm looking at it
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7442
^ permalink raw reply [flat|nested] 4+ messages in thread
* libstdc++/7442: cxxabi.h does not match the C++ ABI
@ 2002-07-30 1:26 grigory
0 siblings, 0 replies; 4+ messages in thread
From: grigory @ 2002-07-30 1:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 7442
>Category: libstdc++
>Synopsis: cxxabi.h does not match the C++ ABI
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 30 01:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Grigory Zagorodnev
>Release: 3.1.1
>Organization:
>Environment:
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --enable-threads
>Description:
There is a couple of discrepancies between G++ implementation of 'cxxabi.h' file and the C++ ABI.
I. Member name difference
-------------------------
The C++ ABI defines that...
2.9.5 RTTI Layout
9 The abi::__pointer_to_member_type_info type adds one field to abi::__pbase_type_info:
class __pointer_to_member_type_info : public __pbase_type_info {
public:
const abi::__class_type_info *__context;
};
G++ implementation is the following:
--- cxxabi.h ------------------------------------------------------------
class __pointer_to_member_type_info
: public __pbase_type_info
{
/* abi defined member variables */
public:
__class_type_info *__context_class; /* class of the member */
-------------------------------------------------------------------------
II. Class name difference
-------------------------
Class '__base_class_type_info' specifyed by the C++ ABI, declared with the name '__base_class_info' in the G++'s cxxabi.h file. Moreover, name of the member __base_type is different too.
2.9.5 RTTI Layout
6. Three different types are used to represent user type information:
__base_info[] is an array of base class descriptions -- one for every direct proper base. Each description is of the type:
struct abi::__base_class_type_info {
public:
const __class_type_info *__base_type;
long __offset_flags;
enum __offset_flags_masks {
__virtual_mask = 0x1,
__public_mask = 0x2,
__offset_shift = 8
};
};
--- G++'s cxxabi.h ------------------------------------------------------
class __base_class_info
{
/* abi defined member variables */
public:
const __class_type_info *__base; /* base class type */
long __offset_flags; /* offset and info */
-------------------------------------------------------------------------
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-08-01 21:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-01 14:13 libstdc++/7442: cxxabi.h does not match the C++ ABI bkoz
-- strict thread matches above, loose matches on Subject: below --
2002-07-31 14:19 bkoz
2002-07-31 12:39 bkoz
2002-07-30 1:26 grigory
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).