http://llvm.org/bugs/show_bug.cgi?id=18126

Aaron Ballman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #1 from Aaron Ballman <[email protected]> ---
Filing this as several bug reports would certainly make it easier to
understand, and more actionable...

>From what I can tell, cl does not ignore __declspec(align) on record
declarations from my tests. Eg)

#include <stdio.h>

struct __declspec(align(16)) S {
  int a;
};

struct S2 {
  __declspec(align(16)) int a;
};

struct S3 {
  int a;
};

int main(void) {
  printf("%d, %d, %d\n", __alignof(S), __alignof(S2), __alignof(S3));
  return 0;
}

prints 16, 16, 4 in MSVC 12 and clang ToT.

I am going to close this as WORKSFORME, but encourage you to file new reports
(covering just one bug per report) with test cases if there are still issues on
ToT.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to