https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88362

--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot 
com> ---
On Wed, 5 Dec 2018, msebor at gcc dot gnu.org wrote:

> so that we get consistent behavior for reference members.  __alignof__ should
> return the corresponding alignment.  For example, in the following all three

But why should __alignof__ on a reference be consistent with __alignof__ 
on a pointer, rather than being consistent with e.g. assignment to the 
reference (i.e. returning the alignment of the underlying object pointed 
to)?

Reply via email to