In icc this attribute is inherited.

Best regards,
Alexey Bataev
=============
Software Engineer
Intel Compiler Team
Intel Corp.

23.07.2014 10:13, Hal Finkel пишет:
One aspect perhaps worth some thought:

typedef double * aligned_double_ptr __attribute__((align_value(64)));
aligned_double_ptr x;

void foo(decltype(x + 3) y, aligned_double_ptr z) {}

Does y also carry the alignment assumption? As it stands in my current patch, 
the answer is no -- I think that is the desirable outcome, but I could be 
convinced otherwise ;)

Thanks again,
Hal

----- Original Message -----
From: "Richard Smith" <[email protected]>
To: [email protected], "aaron ballman" <[email protected]>, 
[email protected], [email protected]
Cc: [email protected]
Sent: Tuesday, July 22, 2014 9:18:56 PM
Subject: Re: [PATCH] align_value attribute in Clang

+Michael Spencer, he was considering proposing something similar for
standardization.

http://reviews.llvm.org/D4635




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

Reply via email to