This is the mail archive of the gcc@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]

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct


On Thu, Feb 11, 2016 at 5:44 AM, Matthijs van Duin
<matthijsvanduin@gmail.com> wrote:
> On 11 February 2016 at 13:58, H.J. Lu <hjl.tools@gmail.com> wrote:
>> "POD for the purpose of layout" is defined in the Itanium C++ ABI here:
>>
>> http://mentorembedded.github.io/cxx-abi/abi.html#definitions
>
> Sorry, I overlooked that.
>
> I still stand by my viewpoint however that triviality of copying and
> destruction is the appropriate criterion here rather than this obscure
> constraint on layout.

My focus is interoperability between C and C++:

https://llvm.org/bugs/show_bug.cgi?id=26337

I intentionally exclude C++ specific features in my propose.

However you have a very valid point.  I encourage you to raise it with C++
ABI group:

http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev



-- 
H.J.


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