cfe-dev Digest, Vol 161, Issue 22

Is it also C++ which will trigger the special case in GetX86_64ByValArgumentPair?

Here the comments state:

// In order to correctly satisfy the ABI, we need to the high part to start
// at offset 8. If the high and low parts we inferred are both 4-byte types
// (e.g. i32 and i32) then the resultant struct type ({i32,i32}) won’t have
// the second element at offset 8. Check for this:

Here I am suspecting that struct Foo { int a; struct { } b; int c; } will create this situation in C++ but not in C. Is that a correct assumption?

Christoffer
AEGIK / www.aegik.se