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 11 February 2016 at 15:00, H.J. Lu <hjl.tools@gmail.com> wrote:
> I intentionally exclude C++ specific features in my propose.

Yet you use a definition from the Itanium C++ ABI which itself depends
on multiple definitions in a particular version of the C++ standard,
which depend on C++ specific features.

This makes no sense to me.

Note that triviality of copying/destruction holds for all C types and
is easy to formulate in languages other than C++. (As is the notion of
an aggregate requiring no storage, other than padding. The whole
argument about array parameters seems a bit silly since this is mere
syntax sugar, C/C++ do not support passing an actual array by value.)

Matthijs van Duin


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