[cfe-commits] Fix handling of ARM homogenous aggregates

Anton Korobeynikov anton at korobeynikov.info
Wed Mar 28 00:53:55 PDT 2012


Hello Everyone

Attached is the patch which (I hope) fixes almost all remaining issues
with handling of homogenous aggregates.
In particular:
  - Unions are now handled
  - C++ case is now handled (previously we accepted only
aggregate-like C++ types, and even this support was broken)
  - Tests are added

This should make clang support of homogenous aggregates to be
compatible with llvm-gcc, FSF gcc and (I hope) with armcc. The
testcase included was checked to produce identical in terms of ABI
code on clang and FSF gcc.

Ok to commit?
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-homogenous-agg.patch
Type: application/octet-stream
Size: 15969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120328/97d60204/attachment.obj>


More information about the cfe-commits mailing list