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

Attachment: diff-clang-ppc64le-baseclass-abifix
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to