[PATCH] Propagate alignment for _Complex

JF Bastien jfb at google.com
Mon Jul 15 09:09:19 PDT 2013


I've attached an updated patch, and a test. I also updated other tests
which had ``volatile _Complex``.

Two questions:
 - ``align 0`` means "suitably aligned", right? It seems to occur on
stack values, I assume the value gets determined later.
 - What should we do with less-than-naturally-aligned _Complex? It
seems like we should warn instead of silently handling it, same with
atomic. I could do that in a separate patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: complex.patch
Type: application/octet-stream
Size: 2614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130715/b50875e7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: complex-tests.patch
Type: application/octet-stream
Size: 11638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130715/b50875e7/attachment-0001.obj>


More information about the cfe-commits mailing list