On Fri, 30 Dec 2011, Jason Merrill wrote: > On 12/28/2011 07:07 PM, Paolo Carlini wrote: > > I think the resolution of core/930 and C++11 itself are pretty clear: > > alignof of an array of unknown bound is fine, provided the element type > > is complete of course. > > I think it makes sense for this change to apply to C as well, on the same > principle that an array of unknown bound does have known alignment. C > maintainers?
In the absence of a resolution of a DR against C11 that allows alignof in this case, I think we should continue to disallow it for C. -- Joseph S. Myers jos...@codesourcery.com