Re: [cxx-abi-dev] What is a POD? TC1 or first C++ Standard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] What is a POD? TC1 or first C++ Standard



>From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
>Ugh.  I knew about that, but I hadn't thought to think about how it 
>affects the ABI.

Me too.  I have it written red ink in my Standard.

>GCC is not going to change back to the pre-TC1 definition, even for
>return values

What do you mean by "return values"?  I said it only affects layout.
I first thought it also affects them but 3.1.4 Return Values, says nothing
about PODs.

>Is there anyone out there shipping compilers with the pre-TC1 
>definition for the return value?  What does aCC do?
Mark Mitchell

We use the pre-TC1 for layout for aCC5.  For aCC6 (EDG) it currently uses
the TC1 definition.

For return values, we don't use the rule in 3.1.4 Return Values, we use PODs
for compatibility with aCC5.  And again aCC6 currently uses the TC1
definition for POD.

We're just beginning to find all of these incompatibilities due to a
bug report from RW on new FOO().