[PowerPC ABI] Bug 21398 - Consider C++ base classes in homogeneous aggregate classification

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Tue Oct 28 10:29:09 PDT 2014



Hello,

as discussed in Bug 21398, PowerPC ABI code currently ignores C++ base
classes when classifying a class as homogeneous aggregate (or not) for ABI
purposes.  The attached patch fixes this.

Tested on powerpc64le-linux.  Also ran GCC's ABI compatibility test suite
against clang with no new failures (unfortunately, it didn't catch the
bug).

OK for mainline?

(See attached file: diff-clang-ppc64le-baseclass-abifix)


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand | Phone: +49-7031/16-3727
  STSM, GNU/Linux compilers and toolchain
  IBM Deutschland Research & Development GmbH
  Vorsitzende des Aufsichtsrats: Martina Koederitz | Geschäftsführung: Dirk
Wittkopp
  Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht
Stuttgart, HRB 243294
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-clang-ppc64le-baseclass-abifix
Type: application/octet-stream
Size: 2180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141028/86a23186/attachment.obj>


More information about the cfe-commits mailing list